Created
February 9, 2021 12:02
-
-
Save qwhex/7aedeee7b627fe9144607d5b0b18d18a to your computer and use it in GitHub Desktop.
.vscode/settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Install this extension: | |
// https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode | |
{ | |
// No default format on save | |
"editor.formatOnSave": false, | |
"css.validate": false, | |
"less.validate": false, | |
"scss.validate": false, | |
// Enable per-language | |
"[javascript]": { | |
"editor.formatOnSave": true, | |
}, | |
"[typescript]": { | |
"editor.formatOnSave": true, | |
}, | |
"[typescriptreact]": { | |
"editor.formatOnSave": true, | |
}, | |
"[json]": { | |
"editor.formatOnSave": false, | |
}, | |
"[elm]": { | |
"editor.formatOnSave": true, | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": false, | |
"source.fixAll.stylelint": true, | |
}, | |
"search.exclude": { | |
"**/node_modules": true, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment