Add ESLint and a generated config/ignore file

Manually changed some rules to better match @lhorie's style and reduce #
of errors from ESLint.
This commit is contained in:
Pat Cavit 2016-05-19 12:37:33 -07:00
parent e8755c11c7
commit 8450ca5d91
3 changed files with 258 additions and 2 deletions

View file

@ -5,12 +5,14 @@
"main": "index.js",
"scripts": {
"build": "node bundler/bundler",
"test": "node ospec/bin/ospec",
"cover": "istanbul cover --print both -x \"**/ospec/**\" -x \"**/test-utils/**\" ospec/bin/ospec"
"cover": "istanbul cover --print both -x \"**/ospec/**\" -x \"**/test-utils/**\" ospec/bin/ospec",
"lint": "eslint .",
"test": "node ospec/bin/ospec"
},
"author": "Leo Horie",
"license": "MIT",
"devDependencies": {
"eslint": "^2.10.2",
"istanbul": "^0.4.3"
}
}