File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,25 @@ module.exports = {
13
13
overrides : [
14
14
{
15
15
extends : [ "plugin:markdown/recommended" ] ,
16
- files : [ "**/*.{md} " ] ,
16
+ files : [ "**/*.md " ] ,
17
17
processor : "markdown/markdown" ,
18
18
} ,
19
19
{
20
20
extends : [
21
21
"plugin:@typescript-eslint/recommended" ,
22
- "plugin:@typescript-eslint/recommended-requiring-type-checking" ,
23
22
"plugin:typescript-sort-keys/recommended" ,
23
+ ] ,
24
+ files : [ "**/*.ts" ] ,
25
+ parser : "@typescript-eslint/parser" ,
26
+ } ,
27
+ {
28
+ extends : [
29
+ "plugin:@typescript-eslint/recommended-requiring-type-checking" ,
24
30
"plugin:@typescript-eslint/strict" ,
25
31
] ,
26
- files : [ "**/*.{ts,tsx}" ] ,
32
+ excludedFiles : [ "**/*.md/*.ts" ] ,
33
+ files : [ "**/*.ts" ] ,
34
+ parser : "@typescript-eslint/parser" ,
27
35
parserOptions : {
28
36
project : "./tsconfig.eslint.json" ,
29
37
} ,
@@ -44,6 +52,7 @@ module.exports = {
44
52
{
45
53
files : "**/*.test.ts" ,
46
54
rules : {
55
+ // These on-by-default rules aren't useful in test files.
47
56
"@typescript-eslint/no-unsafe-assignment" : "off" ,
48
57
"@typescript-eslint/no-unsafe-call" : "off" ,
49
58
} ,
You can’t perform that action at this time.
0 commit comments