Skip to content

Instantly share code, notes, and snippets.

@LuisPalacios
Created August 29, 2024 08:15
Show Gist options
  • Save LuisPalacios/0cf3b8b75bd98330538846972b2bf827 to your computer and use it in GitHub Desktop.
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
{
// 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