Skip to content

Commit

Permalink
update the eslintrc.base.json.
Browse files Browse the repository at this point in the history
Co-authored-by: Arvid Lunnemark <[email protected]>
  • Loading branch information
arvid220u committed Oct 12, 2024
1 parent ba06a5a commit a5cc762
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .eslintrc.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/strict-boolean-expressions": ["error"],
"@typescript-eslint/no-floating-promises": ["error", {"ignoreVoid": false}],
"@typescript-eslint/no-floating-promises": [
"error",
{ "ignoreVoid": false }
],
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-misused-promises": "error",
"constructor-super": "error",
Expand Down Expand Up @@ -48,7 +48,7 @@
"orientation",
"context"
],
"no-var": "error",
"no-var": "off",
"semi": "off",
"@typescript-eslint/naming-convention": [
"error",
Expand All @@ -63,8 +63,7 @@
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json",
"extraFileExtensions": ["ipynb"]
"project": "./tsconfig.json"
},
"ignorePatterns": ["node_modules/"],
"plugins": ["@typescript-eslint", "sonarjs"]
Expand Down

0 comments on commit a5cc762

Please sign in to comment.