Skip to content

Commit 2ff6789

Browse files
authored
Merge pull request #20 from SamyPesse/prettier
Add prettier in a pre-commit hook
2 parents c7ce573 + 4023697 commit 2ff6789

22 files changed

+580
-493
lines changed

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingCommas": "es5"
4+
}

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: node_js
22
node_js:
33
- "stable"
44
script:
5+
- npm run prettier -- --list-different 'lib/**/*.js'
56
- npm run test
67
- npm run coveralls
78
notifications:

0 commit comments

Comments
 (0)