Updated VS Code settings
This commit is contained in:
parent
9cf491aeb0
commit
66eed672a5
1 changed files with 5 additions and 15 deletions
|
|
@ -10,21 +10,11 @@ To prevent the editor from interfering with ESLint, add to your project `setting
|
||||||
{
|
{
|
||||||
"editor.tabSize": 2,
|
"editor.tabSize": 2,
|
||||||
"cSpell.enabled": false,
|
"cSpell.enabled": false,
|
||||||
"eslint.validate": [{
|
"eslint.validate": ["vue","javascript", "javascriptreact"],
|
||||||
"language": "vue",
|
|
||||||
"autoFix": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"language": "javascript",
|
|
||||||
"autoFix": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"language": "javascriptreact",
|
|
||||||
"autoFix": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"eslint.autoFixOnSave": true,
|
|
||||||
"editor.formatOnSave": false,
|
"editor.formatOnSave": false,
|
||||||
"vetur.validation.template": false
|
"vetur.validation.template": false,
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.eslint": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue