Created
July 18, 2021 23:16
-
-
Save wolftrax5/888a1be93b3e93ba56530f2bc26b11f7 to your computer and use it in GitHub Desktop.
VsCode
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
{// Configuraciones para integrar ESLint, prettier y vscode | |
"editor.formatOnSave": true, | |
// Colocar Off el format de JS y JSX, para poder hacerlo via Eslint | |
"[javascript]": { | |
"editor.formatOnSave": false | |
}, | |
"[javascriptreact]": { | |
"editor.formatOnSave": false | |
}, | |
// Esto le dice al plugin de ESLint que cualquier lint se ejecute al salvar. | |
"editor.codeActionsOnSave": { | |
"source.fixAll": true | |
}, | |
// Adicional, PERO MEGA IMPORTANTE... si tienes prettier como extension, debes apagarlo para js y jsx pq esto se hara a traves del eslint | |
"prettier.disableLanguages": [ | |
"javascript", | |
"javascriptreact" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment