-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |