Skip to content

Commit

Permalink
Starting with some rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
pospisilf committed Feb 26, 2024
1 parent 59bdadc commit 893d6f6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"eslint-plugin-import"
],
"rules": {
"@typescript-eslint/no-var-requires": "off", /** allows require statements outside of imports **/
"@typescript-eslint/no-var-requires": "off", /** allows require statements outside of imports was off**/
"no-async-promise-executor": "off", /* Deactivated for now as i do not know how to fix it safely*/
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off", // was off
"@typescript-eslint/no-explicit-any": "off", // was off
"@typescript-eslint/no-floating-promises": "warn",

// we need this rules
Expand All @@ -41,6 +41,15 @@
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"no-unused-vars": "off",
"no-extra-semi": "off",
"prefer-const": "off", // was warn
"curly": "off", // was warn
"eqeqeq": "off", // was warn
"no-throw-literal": "off", // was warn
"@typescript-eslint/no-unused-vars": "off", // was warn
"@typescript-eslint/restrict-plus-operands": "off", // was warn

"import/no-extraneous-dependencies": [
"error",
{
Expand Down

0 comments on commit 893d6f6

Please sign in to comment.