Skip to content

Commit 1bcb75f

Browse files
committed
filter rule
1 parent 5c9ed43 commit 1bcb75f

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.eslintrc.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,18 @@
213213
],
214214
"eslint-plugin/require-meta-docs-url": "error"
215215
}
216+
},
217+
{
218+
"files": ["packages/**/*.tsx", "packages/**/*.ts"],
219+
"rules": {
220+
"@typescript-eslint/consistent-type-imports": [
221+
"error",
222+
{
223+
"disallowTypeAnnotations": false
224+
}
225+
],
226+
"@typescript-eslint/no-import-type-side-effects": "error"
227+
}
216228
}
217229
],
218230
"rules": {
@@ -364,13 +376,6 @@
364376
"@typescript-eslint/no-redeclare": [
365377
"warn",
366378
{ "builtinGlobals": false, "ignoreDeclarationMerge": true }
367-
],
368-
"@typescript-eslint/consistent-type-imports": [
369-
"warn",
370-
{
371-
"disallowTypeAnnotations": false
372-
}
373-
],
374-
"@typescript-eslint/no-import-type-side-effects": "warn"
379+
]
375380
}
376381
}

0 commit comments

Comments
 (0)