Skip to content

Instantly share code, notes, and snippets.

@dance2die
Created June 25, 2021 19:49
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 dance2die/c9ed57ac240e41339bdd084f0eba9e66 to your computer and use it in GitHub Desktop.
Save dance2die/c9ed57ac240e41339bdd084f0eba9e66 to your computer and use it in GitHub Desktop.
Prettier configuration, .prettierc for typescript
{
"arrowParens": "always",
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment