Skip to content

Commit 15937b2

Browse files
committed
ci: disable slow eslint rules
1 parent 92aedd4 commit 15937b2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

eslint.config.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ const config: FlatConfig[] = [
4545
},
4646
// extends ...
4747
eslint.configs.recommended,
48-
...tseslint.configs.strictTypeChecked,
48+
...tseslint.configs.strict,
49+
// ...tseslint.configs.strictTypeChecked,
4950
perfectionistNatural,
5051
jsdocPlugin.configs["flat/recommended-typescript-error"],
5152
eslintPluginPlugin.configs["flat/all-type-checked"],
@@ -111,6 +112,7 @@ const config: FlatConfig[] = [
111112
"@typescript-eslint/explicit-function-return-type": "off",
112113
"@typescript-eslint/no-confusing-void-expression": "off",
113114
"@typescript-eslint/no-explicit-any": "error",
115+
"@typescript-eslint/no-misused-promises": "off",
114116
"@typescript-eslint/no-unnecessary-parameter-property-assignment": "warn",
115117
"@typescript-eslint/no-unnecessary-type-parameters": "warn",
116118
"@typescript-eslint/no-unused-vars": [

packages/types/src/rule-category.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ export type RuleCategoryEmoji =
1717
| "❌" // deprecated
1818
| "🎨" // style
1919
| "🐞" // debug
20-
| "🧐" // suspicious
2120
| "📖" // convention
2221
| "🔒" // security
2322
| "🚀" // perf
2423
| "🤔" // pedantic
25-
| "🤯"; // complexity
24+
| "🤯" // complexity
25+
| "🧐"; // suspicious

0 commit comments

Comments
 (0)