Skip to content
Permalink
Browse files

Setup code formatting

  • Loading branch information
lukePeavey committed Jun 14, 2019
1 parent 437a240 commit dbef6ade49da7289350cd0845e527b52f6edccfb
Showing with 21 additions and 0 deletions.
  1. +10 −0 .prettierrc.json
  2. +11 −0 package.json
@@ -0,0 +1,10 @@
{
"useTabs": false,
"tabWidth": 2,
"semi": false,
"trailingComma": "es5",
"proseWrap": "preserve",
"printWidth": 80,
"arrowParens": "avoid",
"singleQuote": true
}
@@ -12,6 +12,17 @@
"scripts": {
"start": "node src/server.js"
},
"lint-staged": {
"{src,data}/**/*.{js,css,json}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"express": "4.17.1",
"jsonfile": "5.0.0",

0 comments on commit dbef6ad

Please sign in to comment.
You can’t perform that action at this time.