From 8338d1b5b8e1e181b64ad9c44151753d0ab44faf Mon Sep 17 00:00:00 2001 From: Jason Desrosiers Date: Fri, 2 Aug 2024 14:25:07 -0700 Subject: [PATCH] Update eslint config for latest version --- .eslintrc.json | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index dbe72575..f5b45826 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -140,23 +140,11 @@ "no-prototype-builtins": ["off"], "import/extensions": ["error", "always", { "ts": "never" }], "@typescript-eslint/array-type": "error", - "brace-style": "off", - "@typescript-eslint/brace-style": ["error", "1tbs"], - "comma-dangle": "off", - "@typescript-eslint/comma-dangle": ["error", "never"], - "comma-spacing": "off", - "@typescript-eslint/comma-spacing": "error", "@typescript-eslint/consistent-type-assertions": "error", "@typescript-eslint/consistent-type-definitions": ["error", "type"], "@typescript-eslint/consistent-type-imports": "error", "default-param-last": "off", "@typescript-eslint/default-param-last": "error", - "func-call-spacing": "off", - "@typescript-eslint/func-call-spacing": "error", - "indent": "off", - "@typescript-eslint/indent": ["error", 2, { "ignoreComments": true, "SwitchCase": 1 }], - "keyword-spacing": "off", - "@typescript-eslint/keyword-spacing": "error", "@typescript-eslint/method-signature-style": "error", "no-duplicate-imports": "off", "@typescript-eslint/no-base-to-string": "error", @@ -164,8 +152,6 @@ "no-loss-of-precision": "off", "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", - "no-throw-literal": "off", - "@typescript-eslint/no-throw-literal": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-qualifier": "error", @@ -180,22 +166,11 @@ "no-unused-expressions": "off", "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/non-nullable-type-assertion-style": "error", - "object-curly-spacing": "off", - "@typescript-eslint/object-curly-spacing": ["error", "always"], "@typescript-eslint/prefer-for-of": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", - "quotes": "off", - "@typescript-eslint/quotes": ["error", "double", { "allowTemplateLiterals": true }], "no-return-await": "off", "@typescript-eslint/require-await": ["off"], - "@typescript-eslint/return-await": "error", - "semi": "off", - "@typescript-eslint/semi": ["error", "always"], - "space-before-function-paren": "off", - "@typescript-eslint/space-before-function-paren": ["error", { "named": "never" }], - "space-infix-ops": "off", - "@typescript-eslint/space-infix-ops": "error", - "@typescript-eslint/type-annotation-spacing": "error" + "@typescript-eslint/return-await": "error" } } ]