Skip to content

Commit 68e964d

Browse files
committed
fix: fix eslint settings for vscode
1 parent fb1b70f commit 68e964d

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.vscode/settings.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
{
22
"typescript.tsdk": "node_modules/typescript/lib",
3-
"eslint.autoFixOnSave": true,
43
"eslint.validate": [
54
"javascript",
65
"javascriptreact",
7-
{
8-
"language": "typescript",
9-
"autoFix": true
10-
},
11-
{
12-
"language": "typescriptreact",
13-
"autoFix": true
14-
}
6+
"typescript",
7+
"typescriptreact"
158
],
169
"editor.formatOnSave": true,
1710
"[javascript]": {
@@ -25,5 +18,8 @@
2518
},
2619
"[typescriptreact]": {
2720
"editor.formatOnSave": false
21+
},
22+
"editor.codeActionsOnSave": {
23+
"source.fixAll.eslint": "explicit"
2824
}
2925
}

0 commit comments

Comments
 (0)