Skip to content

Commit

Permalink
chore(lint): disable slow rules
Browse files Browse the repository at this point in the history
  • Loading branch information
chohner committed Dec 17, 2024
1 parent 5880311 commit 794860f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ export default tseslint.config(
"no-console": "warn",

// import
"import/no-cycle": "warn",
"import/no-cycle": "off", // VERY slow, only enable if needed
"import/namespace": "off", // slow and unneeded
"import/order": [
"warn",
{
Expand All @@ -115,6 +116,8 @@ export default tseslint.config(
"sonarjs/no-redeclare": "off",
"sonarjs/no-nested-functions": "warn",
"sonarjs/function-return-type": "off",
"sonarjs/aws-restricted-ip-admin-access": "off", // slow and unneeded
"sonarjs/no-async-constructor": "off", // slow and unneeded

// duplicates of typescript-eslint rules (prefer typescript-eslint as their rule pages are clearer)
"sonarjs/sonar-no-unused-vars": "off",
Expand Down

0 comments on commit 794860f

Please sign in to comment.