Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from 1natsu172/dev/add_pre-commit_setting_eslin…
Browse files Browse the repository at this point in the history
…tFix

add pre-commit setting
  • Loading branch information
1natsu172 authored Jan 6, 2018
2 parents a508232 + a67b930 commit 251b648
Show file tree
Hide file tree
Showing 2 changed files with 407 additions and 6 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
"deploy:netlify": "cross-env NODE_ENV=prod gulp deployNetlify",
"singleTask": "gulp",
"lint": "eslint build/src/**/*.js",
"codeFormat": "eslint build/src/**/*.js --fix"
"codeFormat": "eslint build/src/**/*.js --fix",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": ["eslint --fix", "git add"]
},
"author": "1natsu",
"license": "MIT",
Expand Down Expand Up @@ -53,7 +57,9 @@
"gulp-sass-glob": "^1.0.8",
"gulp-sourcemaps": "^2.6.0",
"gulp-svg-sprite": "^1.3.6",
"husky": "^0.14.3",
"imagemin-pngquant": "^5.0.1",
"lint-staged": "^6.0.0",
"minimist": "^1.2.0",
"modernizr-loader": "^1.0.1",
"node-bourbon": "^4.2.8",
Expand Down
Loading

0 comments on commit 251b648

Please sign in to comment.