1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Revert "fix SwitchCase indent rule in eslint (#1454)"

This reverts commit 082774fe6e.
This commit is contained in:
Alex Andreev 2020-11-20 07:51:42 +03:00
parent 082774fe6e
commit b4d7c96890
22 changed files with 400 additions and 406 deletions

View File

@ -18,9 +18,7 @@ module.exports = {
sourceType: 'module', sourceType: 'module',
}, },
rules: { rules: {
"indent": ["error", 2, { "indent": ["error", 2],
"SwitchCase": 1,
}],
"no-unused-vars": "off", "no-unused-vars": "off",
"semi": ["error", "always"], "semi": ["error", "always"],
} }
@ -50,9 +48,7 @@ module.exports = {
"@typescript-eslint/ban-types": "off", "@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-empty-interface": "off",
"indent": ["error", 2, { "indent": ["error", 2],
"SwitchCase": 1,
}],
"semi": "off", "semi": "off",
"@typescript-eslint/semi": ["error"], "@typescript-eslint/semi": ["error"],
}, },
@ -82,9 +78,7 @@ module.exports = {
"@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-types": "off", "@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-empty-function": "off",
"indent": ["error", 2, { "indent": ["error", 2],
"SwitchCase": 1,
}],
"semi": "off", "semi": "off",
"@typescript-eslint/semi": ["error"], "@typescript-eslint/semi": ["error"],
}, },