Skip to content

Commit

Permalink
Add typescript strict lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thsaravana committed Jul 19, 2024
1 parent 54baf62 commit dbc1c45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"extends": [
"plugin:github/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/stylistic"
"plugin:@typescript-eslint/stylistic",
"plugin:@typescript-eslint/strict"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand Down Expand Up @@ -57,7 +58,8 @@
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/prefer-nullish-coalescing": "error"
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/prefer-ts-expect-error": "off"
},
"env": {
"node": true,
Expand Down

0 comments on commit dbc1c45

Please sign in to comment.