-
-
Save dev-jhon-yo/8a290db1a00c97dac9e63c9496db5418 to your computer and use it in GitHub Desktop.
vscode settings for eslint & prettier extention
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
{ | |
// START: Settings for Eslint and Prettier | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true, | |
"[javascript]": { | |
"editor.formatOnSave": false | |
}, | |
"[javascriptreact]": { | |
"editor.formatOnSave": false | |
}, | |
"editor.codeActionsOnSave": { | |
"source.fixAll": true | |
}, | |
"eslint.alwaysShowStatus": true, | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
"typescript", | |
"typescriptreact" | |
], | |
// START: Settings for Prettier | |
"prettier.useTabs": true, | |
"prettier.jsxSingleQuote": false, | |
"prettier.tabWidth": 2, | |
"prettier.arrowParens": "avoid", | |
"prettier.singleQuote": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment