mirror of
https://github.com/danbulant/pngjs
synced 2026-05-27 22:02:22 +00:00
Merge pull request #42 from lukeapage/greenkeeper-eslint-2.1.0
Update eslint to version 2.1.0 🚀
This commit is contained in:
commit
c7d7cbc305
3 changed files with 9 additions and 10 deletions
|
|
@ -22,7 +22,6 @@
|
|||
"no-else-return": 1,
|
||||
"no-empty": 2,
|
||||
"no-empty-character-class": 2,
|
||||
"no-empty-label": 1,
|
||||
"no-eq-null": 0,
|
||||
"no-eval": 2,
|
||||
"no-ex-assign": 2,
|
||||
|
|
@ -133,7 +132,8 @@
|
|||
"indent": [1, 2, {"SwitchCase": 1}],
|
||||
"init-declarations": 0,
|
||||
"key-spacing": [1, { "beforeColon": false, "afterColon": true }],
|
||||
"lines-around-comment": 0,
|
||||
"keyword-spacing": 1,
|
||||
"lines-around-comment": 0,
|
||||
"max-depth": [1, 4],
|
||||
"max-len": [1, 160, 2],
|
||||
"max-nested-callbacks": [1, 2],
|
||||
|
|
@ -161,12 +161,10 @@
|
|||
"semi": [1, "always"],
|
||||
"semi-spacing": [1, {"before": false, "after": true}],
|
||||
"sort-vars": 0,
|
||||
"space-after-keywords": [1, "always"],
|
||||
"space-before-blocks": [1, "always"],
|
||||
"space-before-function-paren": [1, "never"],
|
||||
"space-in-parens": [1, "never"],
|
||||
"space-infix-ops": 1,
|
||||
"space-return-throw-case": 1,
|
||||
"space-unary-ops": [1, { "words": true, "nonwords": false }],
|
||||
"spaced-comment": 0,
|
||||
"strict": [2, "global"],
|
||||
|
|
@ -179,6 +177,7 @@
|
|||
"yoda": [0, "never"]
|
||||
},
|
||||
"env": {
|
||||
"node": true
|
||||
"node": true,
|
||||
"es6": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -52,9 +52,9 @@
|
|||
"devDependencies": {
|
||||
"buffer-equal": "1.0.0",
|
||||
"connect": "^3.4.0",
|
||||
"eslint": "^1.0.0",
|
||||
"eslint": "^2.1.0",
|
||||
"istanbul": "^0.4.1",
|
||||
"phantomjs": "^2.1.3",
|
||||
"phantomjs-prebuilt": "^2.1.3",
|
||||
"serve-static": "^1.10.0",
|
||||
"tap-dot": "^1.0.0",
|
||||
"tape": "^4.0.2"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ require("./http-server");
|
|||
|
||||
var path = require('path');
|
||||
var childProcess = require('child_process');
|
||||
var phantomjs = require('phantomjs');
|
||||
var phantomjs = require('phantomjs-prebuilt');
|
||||
var binPath = phantomjs.path;
|
||||
|
||||
var childArgs = [
|
||||
|
|
@ -21,4 +21,4 @@ try {
|
|||
});
|
||||
} catch (e) {
|
||||
console.log("Error starting phantomjs");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue