Permalink
Browse files

update ESLint and add a lint script to the package.json

add npm-debug.log to the list of ignored files
  • Loading branch information...
1 parent aac346a commit fc3f645bfeac6e72667d34dffbe33f68db8f69a0 @ChristianMurphy ChristianMurphy committed Nov 7, 2015
Showing with 4 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +3 −2 package.json
View
@@ -17,6 +17,7 @@ test/triage/*.js
/inspections
bin/mongoose.min.js
coverage
+npm-debug.log
# Visual Studio
# =========
View
@@ -39,7 +39,7 @@
"bluebird": "2.9.34",
"co": "3.1.0",
"dox": "0.3.1",
- "eslint": "1.7.3",
+ "eslint": "1.9.0",
"highlight.js": "7.0.1",
"istanbul": "^0.3.13",
"jade": "0.26.3",
@@ -67,7 +67,8 @@
"scripts": {
"install-browser": "npm install `node format_deps.js`",
"test": "mocha --async-only test/*.test.js test/**/*.test.js",
- "test-cov": "istanbul cover _mocha --async-only test/*.test.js"
+ "test-cov": "istanbul cover _mocha --async-only test/*.test.js",
+ "lint": "eslint . --quiet"
},
"main": "./index.js",
"engines": {

0 comments on commit fc3f645

Please sign in to comment.