Skip to content

Commit

Permalink
lint: remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jan 1, 2021
1 parent f3a4a02 commit 782fea8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yml
Expand Up @@ -3,3 +3,4 @@ rules:
eol-last: error
indent: ["error", 2, { "SwitchCase": 1 }]
no-trailing-spaces: error
no-unused-vars: ["error", { "args": "none" }]
2 changes: 0 additions & 2 deletions test/fqdn.js
@@ -1,7 +1,5 @@

var assert = require('assert');
var connect = require('..');
var http = require('http');
var rawrequest = require('./support/rawagent')

describe('app.use()', function(){
Expand Down
2 changes: 0 additions & 2 deletions test/mounting.js
Expand Up @@ -258,8 +258,6 @@ describe('app.use()', function(){
})

it('should start at error middleware declared after error', function(done){
var invoked = false;

app.use(function(err, req, res, next){
res.end('fail: ' + err.message);
});
Expand Down

0 comments on commit 782fea8

Please sign in to comment.