-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add and configure prettier code formatter
This commit adds prettier using the recommended configuration for integrating with eslint: https://prettier.io/docs/en/integrating-with-linters.html I also added a .prettierrc.js file to configure our formatting based on the existing .editorconfig. https://prettier.io/docs/en/configuration.html
- Loading branch information
Brandyn Friedly
committed
Jan 14, 2020
1 parent
51ab6ab
commit 8752435
Showing
4 changed files
with
63 additions
and
117 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
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,7 @@ | ||
// prettier config | ||
module.exports = { | ||
trailingComma: 'es5', | ||
tabWidth: 2, | ||
singleQuote: true, | ||
endOfLine: 'lf' | ||
}; |
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
Oops, something went wrong.