File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 22
22
"build" : " yarn js && yarn docs" ,
23
23
"js" : " tsc" ,
24
24
"docs" : " typedoc --out ./docs --mode file --target ES6 --ignoreCompilerErrors ./src" ,
25
- "lint" : " eslint src/**/* " ,
25
+ "lint" : " xo " ,
26
26
"test" : " ava"
27
27
},
28
28
"dependencies" : {
53
53
"eslint" : " ^6.6.0"
54
54
},
55
55
"xo" : {
56
- "extends" : " richienb/node"
56
+ "extends" : " richienb/node" ,
57
+ "overrides" : [
58
+ {
59
+ "files" : " test.js" ,
60
+ "rules" : {
61
+ "import/default" : 0 ,
62
+ "node/no-missing-import" : 0 ,
63
+ "import/no-unresolved" : 0 ,
64
+ "node/no-unsupported-features/node-builtins" : 0
65
+ }
66
+ }
67
+ ]
57
68
},
58
69
"ava" : {
59
70
"compileEnhancements" : false ,
Original file line number Diff line number Diff line change 1
- import test , { before , after } from "ava"
2
- import resumer from "resumer"
3
- import FormData from "form-data"
4
1
import * as stream from "stream"
5
- import { extractContentType , getTotalBytes } from "./src"
2
+ import FormData from "form-data"
3
+ import resumer from "resumer"
4
+ import test , { before , after } from "ava"
6
5
import express from "express"
7
- import getPort from "get-port" // eslint-disable-line import/default
6
+ import getPort from "get-port"
8
7
import { Request } from "node-fetch"
9
8
import Blob from "fetch-blob"
9
+ import { extractContentType , getTotalBytes } from "./src"
10
10
const app = express ( )
11
11
12
12
before ( async ( t ) => {
You can’t perform that action at this time.
0 commit comments