Skip to content

Instantly share code, notes, and snippets.

@bkhanale
Created September 23, 2020 08:43
Show Gist options
  • Save bkhanale/8398aaab72eba9c8edf43f7779d1798f to your computer and use it in GitHub Desktop.
Save bkhanale/8398aaab72eba9c8edf43f7779d1798f to your computer and use it in GitHub Desktop.
VS Code React Config - ESLint
{
"[javascript]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"prettier.disableLanguages": ["js", "jsx", "ts", "tsx"],
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment