Skip to content

Commit 764ba91

Browse files
committed
chore: upload vscode settings
1 parent d4c2ae8 commit 764ba91

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ yarn-error.log*
1717

1818
# Editor directories and files
1919
.idea
20-
.vscode
2120
*.suo
2221
*.ntvs*
2322
*.njsproj

.vscode/settings.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"prettier.enable": false,
3+
"editor.formatOnSave": false,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": true,
6+
"source.organizeImports": false
7+
},
8+
9+
// The following is optional.
10+
// It's better to put under project setting `.vscode/settings.json`
11+
// to avoid conflicts with working with different eslint configs
12+
// that does not support all formats.
13+
"eslint.validate": [
14+
"javascript",
15+
"javascriptreact",
16+
"typescript",
17+
"typescriptreact",
18+
"vue",
19+
"html",
20+
"markdown",
21+
"json",
22+
"jsonc",
23+
"yaml"
24+
]
25+
}

0 commit comments

Comments
 (0)