File tree Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 17
17
],
18
18
"overrides" : [
19
19
{
20
- "files" : [" *.md" ],
21
- "parser" : " markdown-eslint-parser" ,
20
+ "files" : [" *.ts" ],
22
21
"rules" : {
23
- "@typescript-eslint/require-await" : " off"
22
+ "require-await" : " off" ,
23
+ "@typescript-eslint/require-await" : " error"
24
24
}
25
25
},
26
26
{
27
+ "extends" : [" plugin:package-json/legacy-recommended" ],
27
28
"files" : [" *.json" ],
28
- "parser" : " jsonc-eslint-parser" ,
29
- "rules" : {
30
- "@typescript-eslint/require-await" : " off"
31
- }
29
+ "parser" : " jsonc-eslint-parser"
32
30
},
33
31
{
34
- "extends" : [" plugin:package-json/legacy-recommended" ],
35
- "files" : [" package.json" ],
36
- "parser" : " jsonc-eslint-parser" ,
37
- "rules" : {
38
- "@typescript-eslint/require-await" : " off"
39
- }
32
+ "files" : [" *.md" ],
33
+ "parser" : " markdown-eslint-parser"
40
34
}
41
35
],
42
36
"rules" : {
73
67
"sublings_only" : true
74
68
}
75
69
}
76
- ],
77
- "require-await" : " off" ,
78
- "@typescript-eslint/require-await" : " error"
70
+ ]
79
71
},
80
72
"ignorePatterns" : [" out" , " dist" , " **/*.d.ts" ]
81
73
}
Original file line number Diff line number Diff line change 19
19
"main" : " ./dist/extension.js" ,
20
20
"scripts" : {
21
21
"build" : " webpack" ,
22
- "compile-tests" : " tsc -p . --outDir out" ,
23
22
"fmt" : " prettier --write ." ,
24
23
"lint" : " eslint . --ext ts,md,json" ,
25
24
"lint:fix" : " yarn lint --fix" ,
26
25
"package" : " webpack --mode production --devtool hidden-source-map" ,
27
26
"package:prerelease" : " npx vsce package --pre-release" ,
28
- "pretest" : " yarn run compile-tests && yarn run build && yarn run lint" ,
27
+ "pretest" : " tsc -p . --outDir out && yarn run build && yarn run lint" ,
29
28
"test" : " vitest" ,
30
29
"test:ci" : " CI=true yarn test" ,
31
30
"test:integration" : " vscode-test" ,
You can’t perform that action at this time.
0 commit comments