Skip to content

Commit

Permalink
Added local prettier config file
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Nov 21, 2017
1 parent ec3c321 commit 880ad93
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# We generally allow wider code lines, but for auto formatting this
# is quite a good rule to produce readable code.
printWidth: 80

# Use two spaces for tabs
tabWidth: 2

# Unify with convention used in JSX, HTML and CSS to use double quotes
singleQuote: false

# Don't use semicolons where they are not required
semi: false

# Don't do stupid trailing commas reducing noise ratio.
trailingComma: none

# More space is better for readability
bracketSpacing: true

# Put the > of a multi-line JSX element at the end of the last line
jsxBracketSameLine: false

0 comments on commit 880ad93

Please sign in to comment.