未验证 提交 15aaee80 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #16588 from gkjohnson/eslint-ts-indent-fix

Typescript ESLint: Add indent rule for d.ts files
......@@ -32,7 +32,14 @@
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": 1
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/indent": [
"error",
"tab",
{
"SwitchCase": 1
}
]
}
},
"scripts": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册