Skip to content

Instantly share code, notes, and snippets.

@jpsullivan
Created June 25, 2017 17:02
Show Gist options
  • Save jpsullivan/062330a5146ed1d19b8d6bee181f0053 to your computer and use it in GitHub Desktop.
Save jpsullivan/062330a5146ed1d19b8d6bee181f0053 to your computer and use it in GitHub Desktop.
eslint integration w/ commits and tests
{
"name": "ThousandFaces",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"pretest": "npm run lint",
"precommit": "lint-staged"
},
"lint-staged": {
"client/**/*.js": "eslint"
},
"devDependencies": {
"lint-staged": "^3.4.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jpsullivan/ThousandFaces.git"
},
"author": "Josh Sullivan <jaysche.sullivan@gmail.com> (https://github.com/jpsullivan)",
"license": "ISC",
"bugs": {
"url": "https://github.com/jpsullivan/ThousandFaces/issues"
},
"homepage": "https://github.com/jpsullivan/ThousandFaces#readme"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment