Skip to content

Instantly share code, notes, and snippets.

@nissicreative
Last active April 28, 2023 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nissicreative/8e30d121c3ab9f764e2a521ff947417b to your computer and use it in GitHub Desktop.
Save nissicreative/8e30d121c3ab9f764e2a521ff947417b to your computer and use it in GitHub Desktop.
My prettierrc settings
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false,
"overrides": [
{
"files": "composer.json",
"options": {
"parser": "json",
"tabWidth": 4
}
},
{
"files": "*.config.js",
"options": {
"tabWidth": 4
}
},
{
"files": "*.md",
"options": {
"tabWidth": 4
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment