Skip to content

Commit

Permalink
Merge pull request #163 from github-community-projects/ajhenry/eslint…
Browse files Browse the repository at this point in the history
…-rules

feat: add stricter eslint rules for typescript
  • Loading branch information
ajhenry authored Jun 11, 2024
2 parents d9da3fa + 2569f79 commit 201749e
Show file tree
Hide file tree
Showing 21 changed files with 579 additions and 98 deletions.
17 changes: 16 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
{
"extends": "next/core-web-vitals"
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-type-checked"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"project": ["./tsconfig.json"]
},
"root": true,
"rules": {
// Most of the problems this rule catches are false positives from libs
"@typescript-eslint/no-misused-promises": "off"
}
}
Loading

0 comments on commit 201749e

Please sign in to comment.