Skip to content

Instantly share code, notes, and snippets.

@edem-cyber
Last active February 27, 2024 06:38
Show Gist options
  • Save edem-cyber/0ae8bdcaf3aea6fe4f03e49a80f64806 to your computer and use it in GitHub Desktop.
Save edem-cyber/0ae8bdcaf3aea6fe4f03e49a80f64806 to your computer and use it in GitHub Desktop.
consistent prettier configuration
{
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"jsxBracketSameLine": true,
"printWidth": 80,
"proseWrap": "preserve",
"jsxSingleQuote": true,
"requirePragma": false,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"useTabs": true,
"overrides": [
{
"files": "*.json",
"options": {
"printWidth": 200
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment