Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Sep 19, 2022
1 parent e1ad619 commit 3cd11ee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"overrides": [{
"files": ["bin/**/*.js"],
"rules": {
"no-console": 0,
"no-process-exit": 0
"n/no-console": 0,
"n/no-process-exit": 0
},
"extends": [
"plugin:n/recommended"
Expand Down
6 changes: 3 additions & 3 deletions server/gritty.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
'use strict';

const isBool = (a) => typeof a === 'boolean';

const path = require('path');
const log = require('debug')('gritty');

const log = require('debug')('gritty');
const Router = require('router');

const currify = require('currify');
const wraptile = require('wraptile');
const pty = require('node-pty');
const stringArgv = require('string-to-argv');
const isBool = (a) => typeof a === 'boolean';

const DIR_ROOT = __dirname + '/..';

Expand Down
8 changes: 4 additions & 4 deletions test/before.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
'use strict';

const isFn = (a) => typeof a === 'function';

const http = require('http');
const {promisify} = require('util');

const {promisify} = require('util');
const express = require('express');
const io = require('socket.io');

const io = require('socket.io');
const gritty = require('..');

const isFn = (a) => typeof a === 'function';

module.exports = before;

function before(options, fn = options) {
Expand Down

0 comments on commit 3cd11ee

Please sign in to comment.