File tree 4 files changed +2
-5
lines changed
4 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
- // tslint:disable: no-console
2
1
import { myLibrary } from ".." ;
3
2
import { ExitCode } from "./exit-code" ;
4
3
import { helpText } from "./help" ;
Original file line number Diff line number Diff line change 1
1
// NOTE: We can't `import` the package.json file because it's outside of the "src" directory.
2
- // tslint: disable-next-line: no-var-requires no-require-imports
2
+ // eslint- disable-next-line @typescript-eslint/ no-var-requires, @typescript-eslint/ no-require-imports
3
3
export const manifest = require ( "../../package.json" ) as Manifest ;
4
4
5
5
/**
Original file line number Diff line number Diff line change 1
- // tslint:disable: no-console
2
1
import * as commandLineArgs from "command-line-args" ;
3
2
import { Options } from ".." ;
4
3
import { ExitCode } from "./exit-code" ;
Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ export { Options } from "./settings";
4
4
export { myLibrary } ;
5
5
6
6
// Export `myLibrary` as the default export
7
- // tslint:disable: no-default-export
8
7
export default myLibrary ;
9
8
10
9
// CommonJS default export hack
11
10
if ( typeof module === "object" && typeof module . exports === "object" ) {
12
- module . exports = Object . assign ( module . exports . default , module . exports ) ; // tslint:disable-line: no-unsafe-any
11
+ module . exports = Object . assign ( module . exports . default , module . exports ) ;
13
12
}
You can’t perform that action at this time.
0 commit comments