Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nahtnam committed Dec 29, 2019
1 parent 1473827 commit d3f114f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Expand Up @@ -25,7 +25,8 @@
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/no-explicit-any": "off",
"jest/no-disabled-tests": "off",
"no-underscore-dangle": "off"
"no-underscore-dangle": "off",
"import/extensions": "off"
},
"settings": {
"import/resolver": {
Expand Down
1 change: 1 addition & 0 deletions src/types/http.ts
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
import { IncomingMessage, ServerResponse, Server } from 'http';

type IM = IncomingMessage;
Expand Down
3 changes: 2 additions & 1 deletion src/types/route.ts
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
import { IM, SR } from './http';

// the route definition that will be ingested
Expand Down Expand Up @@ -33,5 +34,5 @@ export {
RouteObject,
Options,
TestOptions,
Route
Route,
};
1 change: 1 addition & 0 deletions src/types/server.ts
@@ -1,3 +1,4 @@
/* eslint-disable no-undef, import/prefer-default-export */
import { Server } from './http';

interface LightServer {
Expand Down
2 changes: 1 addition & 1 deletion tests/404.ts
Expand Up @@ -8,7 +8,7 @@ import {
const { handler } = route();
const { listen, close } = test(handler(() => ({
hello: 'world',
})))
})));

let url: any;
beforeEach(async () => {
Expand Down

0 comments on commit d3f114f

Please sign in to comment.