Skip to content

Instantly share code, notes, and snippets.

@HenriBeck
Created July 11, 2018 18:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HenriBeck/50397fed153ec591dcdc279c1b5775e4 to your computer and use it in GitHub Desktop.
Save HenriBeck/50397fed153ec591dcdc279c1b5775e4 to your computer and use it in GitHub Desktop.
// .prettierrc.js
module.exports = {
printWidth: 120,
useTabs: true,
semi: true,
singleQuote: true,
trailingComma: 'all',
bracketSpacing: true,
jsxBracketSameLine: false,
// Might have some problems with this one because of eslint
// Because we require to have parens around an arrow function when it has a body
arrowParens: 'avoid',
parser: "flow"
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment