Skip to content

Commit

Permalink
Update eslint config for latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesrosiers committed Aug 2, 2024
1 parent 657af25 commit 8338d1b
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,32 +140,18 @@
"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",
"@typescript-eslint/no-confusing-void-expression": "error",
"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",
Expand All @@ -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"
}
}
]
Expand Down

0 comments on commit 8338d1b

Please sign in to comment.