Skip to content

Instantly share code, notes, and snippets.

@kasir-barati
Last active March 6, 2023 15:52
Show Gist options
  • Save kasir-barati/2bcdeea964f88712eca171adb3fbd979 to your computer and use it in GitHub Desktop.
Save kasir-barati/2bcdeea964f88712eca171adb3fbd979 to your computer and use it in GitHub Desktop.
My default prettierrc file
{
"arrowParens": "always",
"useTabs": false,
"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 70,
"quoteProps": "consistent",
"tabWidth": 4,
"trailingComma": "all",
"semi": true,
"singleQuote": true,
"overrides": [
{
"files": ["*.yml", "*.yaml"],
"options": {
"singleQuote": false,
"tabWidth": 2
}
},
{
"files": "*.md",
"options": {
"tabWidth": 2
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment