File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @tpluscode/eslint-config " : minor
3
+ ---
4
+
5
+ Enabled rule ` @typescript-eslint/consistent-type-exports `
Original file line number Diff line number Diff line change @@ -46,3 +46,5 @@ In a TypeScript project:
46
46
}
47
47
}
48
48
```
49
+
50
+ ` parserOptions.project ` is required for TypeScript projects unless the rule ` @typescript-eslint/consistent-type-exports ` is disabled.
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ module.exports = {
26
26
'no-redeclare' : 'off' ,
27
27
'@typescript-eslint/no-redeclare' : 'warn' ,
28
28
'@typescript-eslint/no-unused-vars' : 'off' ,
29
+ '@typescript-eslint/consistent-type-exports' : 'error' ,
29
30
'@typescript-eslint/consistent-type-imports' : 'error'
30
31
} ,
31
32
settings : {
You can’t perform that action at this time.
0 commit comments