Fix ESLint configuration triggering an error in the ESLint VS Code extension

This commit is contained in:
Keavon Chambers 2021-12-05 18:39:02 -08:00
parent a3bb9160a2
commit bd1da01b1d
1 changed files with 2 additions and 1 deletions

View File

@ -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: "^_" }],