Skip to content
Permalink
Browse files

Install and configure lint-staged in packages

  • Loading branch information...
bhubr committed Aug 31, 2019
1 parent 70133af commit 3ac3a5ba315f5ea47f86627adb7a2262078306d3
Showing with 1,014 additions and 10 deletions.
  1. +8 −0 packages/back/package.json
  2. +549 −7 packages/back/yarn.lock
  3. +8 −0 packages/front/package.json
  4. +449 −3 packages/front/yarn.lock
@@ -6,6 +6,7 @@
"scripts": {
"build": "npx babel src -d build",
"lint": "npx eslint --fix *.js src test",
"precommit": "lint-staged",
"start": "nodemon --exec ./node_modules/@babel/node/bin/babel-node.js src/index",
"test": "jest"
},
@@ -25,8 +26,15 @@
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"jest": "^24.9.0",
"lint-staged": "^9.2.5",
"nodemon": "^1.19.1",
"prettier": "^1.18.2",
"supertest": "^4.0.2"
},
"lint-staged": {
"**/*.js": [
"yarn lint",
"git add"
]
}
}

0 comments on commit 3ac3a5b

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