Skip to content

Commit

Permalink
chore: install and configure prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMaruchu committed May 30, 2019
1 parent 350342e commit 0e65d0c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 80,
"singleQuote": true,
"semi": true,
"trailingComma": "es5"
}
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"doc": "grunt doc",
"dev": "npm run seed && npm run start",
"start": "BASE_PATH=./examples node ./examples/app.js",
"seed": "BASE_PATH=./examples node ./examples/seed.js"
"seed": "BASE_PATH=./examples node ./examples/seed.js",
"format": "prettier --write \"{lib,test,.}/**/*.js\" --loglevel silent"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -105,6 +106,7 @@
"jshint-stylish": "^2.2.1",
"mocha": "^6.1.4",
"mongoose": ">=5.5.11",
"prettier": "^1.17.1",
"supertest": "^4.0.2"
},
"peerDependencies": {
Expand Down

0 comments on commit 0e65d0c

Please sign in to comment.