Skip to content

Commit 3cd11ee

Browse files
committed
chore: lint
1 parent e1ad619 commit 3cd11ee

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"overrides": [{
1010
"files": ["bin/**/*.js"],
1111
"rules": {
12-
"no-console": 0,
13-
"no-process-exit": 0
12+
"n/no-console": 0,
13+
"n/no-process-exit": 0
1414
},
1515
"extends": [
1616
"plugin:n/recommended"

server/gritty.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
'use strict';
22

3-
const isBool = (a) => typeof a === 'boolean';
4-
53
const path = require('path');
6-
const log = require('debug')('gritty');
74

5+
const log = require('debug')('gritty');
86
const Router = require('router');
7+
98
const currify = require('currify');
109
const wraptile = require('wraptile');
1110
const pty = require('node-pty');
1211
const stringArgv = require('string-to-argv');
12+
const isBool = (a) => typeof a === 'boolean';
1313

1414
const DIR_ROOT = __dirname + '/..';
1515

test/before.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
'use strict';
22

3-
const isFn = (a) => typeof a === 'function';
4-
53
const http = require('http');
6-
const {promisify} = require('util');
74

5+
const {promisify} = require('util');
86
const express = require('express');
9-
const io = require('socket.io');
107

8+
const io = require('socket.io');
119
const gritty = require('..');
1210

11+
const isFn = (a) => typeof a === 'function';
12+
1313
module.exports = before;
1414

1515
function before(options, fn = options) {

0 commit comments

Comments
 (0)