Skip to content

Instantly share code, notes, and snippets.

@stephenmirving
Created January 11, 2024 06:55
Show Gist options
  • Save stephenmirving/6ef54565650a962d50542e80aace087c to your computer and use it in GitHub Desktop.
Save stephenmirving/6ef54565650a962d50542e80aace087c to your computer and use it in GitHub Desktop.
Prettier Configuration file
{
"autoClosingTags": false,
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"endOfLine": "lf",
"experimentalTernaries": true,
"printWidth": 80,
"proseWrap": "always",
"quoteProps": "consistent",
"semi": true,
"singleAttributePerLine": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"vueIndentScriptAndStyle": true,
"overrides": [
{
"files": "*.md",
"options": {
"proseWrap": "preserve"
}
}, {
"files": "*.html",
"options": {
"useTabs": true,
"printWidth": 115
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment