Skip to content

Commit

Permalink
update eslint to 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
DonutEspresso committed Apr 29, 2016
1 parent d3837a9 commit f94e442
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Expand Up @@ -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 ],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions test/formatter.test.js
Expand Up @@ -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');
});
Expand Down

0 comments on commit f94e442

Please sign in to comment.