Skip to content

Commit

Permalink
chore: update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
JBR90 committed Dec 3, 2024
1 parent 7eba057 commit d329bde
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,29 @@ module.exports = {
"import/newline-after-import": "off", // conflict with Prettier
"import/no-duplicates": "off", // conflict with Prettier
"no-console": "warn",
"no-extra-boolean-cast": "warn",
"no-useless-escape": "warn",
"no-unsafe-finally": "warn",
"no-extra-boolean-cast": "error",
"no-useless-escape": "error",
"no-unsafe-finally": "error",
"no-constant-condition": "warn",
"no-prototype-builtins": "warn",
"no-prototype-builtins": "error",
"no-inner-declarations": "warn",
"@typescript-eslint/prefer-nullish-coalescing": "warn",
"@typescript-eslint/no-unsafe-enum-comparison": "warn",
"@typescript-eslint/no-unsafe-enum-comparison": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
"@typescript-eslint/consistent-type-imports": "warn",
"@typescript-eslint/comma-dangle": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/require-await": "warn",
"@typescript-eslint/no-unsafe-return": "warn",
"@typescript-eslint/no-misused-promises": "warn",
"@typescript-eslint/no-unsafe-argument": "warn",
"@typescript-eslint/no-unsafe-return": "warn", // should be error
"@typescript-eslint/no-misused-promises": "warn", // should be error
"@typescript-eslint/no-unsafe-argument": "warn", // should be error
"@typescript-eslint/no-unsafe-assignment": "warn",
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/no-floating-promises": "warn", // should be error
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/no-unsafe-member-access": "warn",
"@typescript-eslint/restrict-template-expressions": "warn",
"@typescript-eslint/no-redundant-type-constituents": "warn",
"@typescript-eslint/await-thenable": "warn",
"@typescript-eslint/no-unsafe-member-access": "warn", //should be error
"@typescript-eslint/restrict-template-expressions": "error",
"@typescript-eslint/no-redundant-type-constituents": "warn", // should be error
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-unsafe-call": "warn",
"@typescript-eslint/explicit-function-return-type": [
"off",
Expand Down

0 comments on commit d329bde

Please sign in to comment.