-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(prettier): adding prettier rules and validations
using pretty-quick and lint-staged
- Loading branch information
1 parent
7cc1203
commit 25e4e3d
Showing
7 changed files
with
363 additions
and
74 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,11 @@ | ||
// prettier.config.js or .prettierrc.js | ||
module.exports = { | ||
singleQuote: true, | ||
trailingComma: "none", | ||
tabWidth: 2, | ||
printWidth: 80, | ||
semi: true, | ||
bracketSpacing: true, | ||
jsxBracketSameLine: false, | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ script: | |
- yarn | ||
- yarn build | ||
- cd .. | ||
- commitlint-travis | ||
|
||
after_success: | ||
- yarn semantic-release | ||
|
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.