Skip to content

Commit

Permalink
Merge pull request #86 from rndquu/fix/eslint-sonarjs
Browse files Browse the repository at this point in the history
fix: use sonarjs legacy eslint rules
  • Loading branch information
rndquu authored Nov 26, 2024
2 parents 7b94011 + b828baf commit b7f0579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint", "sonarjs", "filename-rules"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:sonarjs/recommended"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:sonarjs/recommended-legacy"],
"ignorePatterns": ["**/*.js"],
"rules": {
"filename-rules/match": [2, "/^(e2e\\.ts$|.*\\/e2e\\.ts$|[a-z0-9]+(?:[-._a-z0-9]+)*\\.ts|\\.[a-z0-9]+)$/"],
Expand Down

0 comments on commit b7f0579

Please sign in to comment.