Permalink
Browse files

add precommit hook for linting

  • Loading branch information...
noahpresler committed Apr 17, 2017
1 parent 82feed1 commit 218eac6a932ed6f2e397a8fe8294a825cd78955c
Showing with 22 additions and 9 deletions.
  1. +1 −0 .jshintignore
  2. +10 −0 .jshintrc
  3. +11 −9 package.json
View
@@ -0,0 +1 @@
node_modules
View
@@ -0,0 +1,10 @@
{
"node": true,
"curly": true,
"latedef": true,
"quotmark": true,
"undef": true,
"unused": true,
"trailing": true
}
View
@@ -5,8 +5,8 @@
"main": "gulpfile.js",
"dependencies": {
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babelify": "^7.2.0",
"boron": "^0.2.3",
"browser-filesaver": "^1.1.1",
@@ -16,7 +16,7 @@
"events": "^1.1.0",
"expect": "^1.16.0",
"fbjs": "^0.8.8",
"gulp": "^3.9.0",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.0",
"gulp-concat": "^2.6.0",
"gulp-if": "~2.0.1",
@@ -37,7 +37,7 @@
"phantom": "^4.0.0",
"phantomjs": "^2.1.7",
"radium": "^0.18.1",
"react": "^15.1.0",
"react": "^15.5.3",
"react-addons-css-transition-group": "^15.1.0",
"react-addons-shallow-compare": "^15.3.1",
"react-alert": "^1.0.14",
@@ -63,17 +63,13 @@
"babel-core": "^6.24.1",
"babel-loader": "^6.4.1",
"babel-plugin-react-transform": "^2.0.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-loader": "^1.7.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.3",
"extract-text-webpack-plugin": "^2.1.0",
"gulp": "^3.9.1",
"react": "^15.5.3",
"react-hot-loader": "^1.3.1",
"react-proxy": "^1.1.8",
"webpack": "^2.3.3",
@@ -94,5 +90,11 @@
"bugs": {
"url": "https://github.com/rohandas/semesterly/issues"
},
"homepage": "https://github.com/rohandas/semesterly#readme"
"homepage": "https://github.com/rohandas/semesterly#readme",
"pre-commit": [
"lint"
],
"devDependencies": {
"precommit-hook": "^3.0.0"
}
}

0 comments on commit 218eac6

Please sign in to comment.