Fix ESLint configuration triggering an error in the ESLint VS Code extension
This commit is contained in:
parent
a3bb9160a2
commit
bd1da01b1d
|
|
@ -53,7 +53,7 @@ module.exports = {
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
// Standard ESLint config
|
// Standard ESLint config
|
||||||
indent: ["error", "tab", { SwitchCase: 1 }],
|
indent: "off",
|
||||||
quotes: ["error", "double"],
|
quotes: ["error", "double"],
|
||||||
camelcase: ["error", { properties: "always" }],
|
camelcase: ["error", { properties: "always" }],
|
||||||
"linebreak-style": ["error", "unix"],
|
"linebreak-style": ["error", "unix"],
|
||||||
|
|
@ -67,6 +67,7 @@ module.exports = {
|
||||||
"no-use-before-define": "off",
|
"no-use-before-define": "off",
|
||||||
|
|
||||||
// TypeScript plugin config
|
// TypeScript plugin config
|
||||||
|
"@typescript-eslint/indent": ["error", "tab", { SwitchCase: 1 }],
|
||||||
"@typescript-eslint/camelcase": "off",
|
"@typescript-eslint/camelcase": "off",
|
||||||
"@typescript-eslint/no-use-before-define": "off",
|
"@typescript-eslint/no-use-before-define": "off",
|
||||||
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue