Skip to content

Commit

Permalink
add eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rsp committed Jul 20, 2016
1 parent 99938a9 commit 4043675
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions si.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Released under MIT License (Expat) - see:
// https://github.com/rsp/node-websocket-vs-socket.io/blob/master/LICENSE.md

/*eslint-disable no-loop-func*/
var app = require('express')();
var http = require('http').Server(app);
var io = require('socket.io')(http);
Expand Down
1 change: 1 addition & 0 deletions ws-vs-si.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Released under MIT License (Expat) - see:
// https://github.com/rsp/node-websocket-vs-socket.io/blob/master/LICENSE.md

/*eslint-disable no-loop-func*/
var express = require('express');
var log = function (m) {
console.error(new Date().toISOString()+' '+this.pre+m);
Expand Down
1 change: 1 addition & 0 deletions ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Released under MIT License (Expat) - see:
// https://github.com/rsp/node-websocket-vs-socket.io/blob/master/LICENSE.md

/*eslint-disable no-loop-func*/
var app = require('express')();
var ws = require('express-ws')(app);
app.get('/', (req, res) => {
Expand Down

0 comments on commit 4043675

Please sign in to comment.