Skip to content

Commit

Permalink
chore: [nx migration] update-19-1-0-rename-no-extra-semi
Browse files Browse the repository at this point in the history
  • Loading branch information
joluj committed Jul 30, 2024
1 parent 2a53083 commit 69d47be
Show file tree
Hide file tree
Showing 2 changed files with 3,285 additions and 4,307 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,23 @@
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
"plugins": ["vitest"],
"rules": {
// you should turn the original rule off *only* for test files
"@typescript-eslint/unbound-method": "off"
}
}
Expand Down
Loading

0 comments on commit 69d47be

Please sign in to comment.