Created
August 29, 2024 08:15
-
-
Save LuisPalacios/0cf3b8b75bd98330538846972b2bf827 to your computer and use it in GitHub Desktop.
Ejemplo VSCode settings.json proyecto de desarrollo web con Prettier y configuraciones de linting
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
{ | |
// Este archivo configura Prettier como el formateador predeterminado | |
// y aplica reglas específicas de linting y formateo para HTML, CSS y JavaScript. | |
"editor.formatOnSave": true, | |
"prettier.requireConfig": true, | |
"files.associations": { | |
"*.html": "html", | |
"*.css": "css", | |
"*.js": "javascript" | |
}, | |
"prettier.printWidth": 80, | |
"prettier.tabWidth": 2, | |
"prettier.useTabs": false, | |
"prettier.singleQuote": true, | |
"prettier.trailingComma": "es5", | |
"prettier.bracketSpacing": true, | |
"prettier.jsxBracketSameLine": false, | |
"css.lint.duplicateProperties": "warning", | |
"html.format.enable": true, | |
"html.format.indentInnerHtml": true, | |
"javascript.format.enable": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment