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:
parent
e8755c11c7
commit
8450ca5d91
3 changed files with 258 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue