Skip to content

Instantly share code, notes, and snippets.

@jpsullivan
Created June 25, 2017 17:02
Show Gist options
  • Select an option

  • Save jpsullivan/062330a5146ed1d19b8d6bee181f0053 to your computer and use it in GitHub Desktop.

Select an option

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