Permalink
Browse files

update eslint to 2.x

  • Loading branch information...
1 parent d3837a9 commit f94e442c6f2d063ffc19269ef0c85eb023e6c59c @DonutEspresso DonutEspresso committed Apr 29, 2016
Showing with 3 additions and 4 deletions.
  1. +0 −1 .eslintrc
  2. +1 −1 package.json
  3. +2 −2 test/formatter.test.js
View
@@ -114,7 +114,6 @@
"key-spacing": [ 0 ],
"new-cap": [ 0 ],
"no-lonely-if": [ 0 ],
- "no-multi-str": [ 0 ],
"no-underscore-dangle": [ 0 ],
"quotes": [ 0 ],
"semi": [ 0 ],
View
@@ -82,7 +82,7 @@
},
"devDependencies": {
"cover": "^0.2.9",
- "eslint": "^1.10.3",
+ "eslint": "^2.8.0",
"filed": "^0.1.0",
"jscs": "^3.0.0",
"nodeunit": "^0.9.1",
@@ -33,12 +33,12 @@ before(function (callback) {
formatters: {
'text/plain': function (req, res, body, cb) {
if (reqCount === 0) {
- process.nextTick(function () {
+ return process.nextTick(function () {
reqCount++;
cb(null, 'async fmt');
});
} else if (reqCount === 1) {
- process.nextTick(function () {
+ return process.nextTick(function () {
reqCount++;
cb(new Error('foobar'), 'async fmt');
});

0 comments on commit f94e442

Please sign in to comment.