From bd1da01b1dd617d47fe6652a3e53712cd09efbf1 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Sun, 5 Dec 2021 18:39:02 -0800 Subject: [PATCH] Fix ESLint configuration triggering an error in the ESLint VS Code extension --- frontend/.eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index 27b06b9c..dbba170e 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -53,7 +53,7 @@ module.exports = { ], rules: { // Standard ESLint config - indent: ["error", "tab", { SwitchCase: 1 }], + indent: "off", quotes: ["error", "double"], camelcase: ["error", { properties: "always" }], "linebreak-style": ["error", "unix"], @@ -67,6 +67,7 @@ module.exports = { "no-use-before-define": "off", // TypeScript plugin config + "@typescript-eslint/indent": ["error", "tab", { SwitchCase: 1 }], "@typescript-eslint/camelcase": "off", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],