Skip to content

Commit

Permalink
chore: add ESLint Jest plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Mar 21, 2024
1 parent dd1e0e0 commit 4377c78
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"es2021": true,
"node": true
},
"extends": [
"plugin:prettier/recommended"
],
"extends": ["plugin:prettier/recommended"],
"plugins": ["prettier", "import", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand All @@ -22,6 +20,13 @@
"version": "detect"
}
},
"overrides": [
{
"files": ["*/__tests__/**"],
"plugins": ["jest"],
"extends": ["plugin:jest/recommended"]
}
],
"rules": {
"no-console": "warn",
"prettier/prettier": "warn",
Expand Down

0 comments on commit 4377c78

Please sign in to comment.