Skip to content

Instantly share code, notes, and snippets.

@codevjs
Created February 9, 2023 10:08
Show Gist options
  • Save codevjs/703ac4f1065ac7471eaaa6a599041f66 to your computer and use it in GitHub Desktop.
Save codevjs/703ac4f1065ac7471eaaa6a599041f66 to your computer and use it in GitHub Desktop.
Prettier Config
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": false,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxSingleQuote": true,
"printWidth": 120,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleAttributePerLine": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
@codevjs
Copy link
Author

codevjs commented Feb 9, 2023

Prettier config for Vue or React

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment