Skip to content

Commit

Permalink
Add typescript stylistic lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thsaravana committed Jul 19, 2024
1 parent ae4b81a commit 54baf62
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 @@ -2,7 +2,8 @@
"plugins": ["jest", "@typescript-eslint"],
"extends": [
"plugin:github/recommended",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/stylistic"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand Down Expand Up @@ -55,7 +56,8 @@
"semi": "off",
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error"
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/prefer-nullish-coalescing": "error"
},
"env": {
"node": true,
Expand Down

0 comments on commit 54baf62

Please sign in to comment.