Skip to content

Commit

Permalink
Prevent commiting code without fixing linting issues first
Browse files Browse the repository at this point in the history
  • Loading branch information
armenzg committed Feb 23, 2018
1 parent 82fd214 commit 109158a
Show file tree
Hide file tree
Showing 2 changed files with 773 additions and 16 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
"start": "neutrino start",
"start:prod": "neutrino build && node .",
"start:debugger": "neutrino build && node inspect .",
"precommit": "lint-staged",
"heroku-postbuild": "npm run build"
},
"lint-staged": {
"*.js": [
"neutrino lint"
]
},
"author": "Harald Kirschner <npm@digitarald.com> (http://digitarald.de/)",
"license": "MPL-2.0",
"dependencies": {
Expand Down Expand Up @@ -51,6 +57,7 @@
"@neutrinojs/node": "^8.0.18",
"coveralls": "^3.0.0",
"eslint-plugin-babel": "^4.1.2",
"lint-staged": "^7.0.0",
"mocha-lcov-reporter": "^1.3.0",
"neutrino": "^8.0.18",
"nyc": "^11.1.0",
Expand Down
Loading

0 comments on commit 109158a

Please sign in to comment.