feat: support cjs and esm both #78
Annotations
10 errors and 3 warnings
src/EggRouter.ts#L5
'assert' import is restricted from being used
|
test/EggRouter.test.ts#L3
Require statement not part of import statement
|
test/EggRouter.test.ts#L4
'assert' module is restricted from being used
|
test/EggRouter.test.ts#L4
Require statement not part of import statement
|
test/EggRouter.test.ts#L5
Require statement not part of import statement
|
test/Router.test.ts#L3
'fs' module is restricted from being used
|
test/Router.test.ts#L3
Require statement not part of import statement
|
test/Router.test.ts#L4
'http' module is restricted from being used
|
test/Router.test.ts#L4
Require statement not part of import statement
|
test/Router.test.ts#L5
Require statement not part of import statement
|
src/EggRouter.ts#L97
Expected @param names to be "[object Object]". Got "name, prefix, middleware"
|
src/Router.ts#L484
Expected @param names to be "name, params, [object Object]". Got "name, params, options"
|
test/Router.test.ts#L507
Use 'fs.promises.readFile()' instead
|
This job failed
Loading