Skip to content

Commit cf0b1c5

Browse files
ESLint fixes
1 parent 25881b0 commit cf0b1c5

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

src/cli/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// tslint:disable: no-console
21
import { myLibrary } from "..";
32
import { ExitCode } from "./exit-code";
43
import { helpText } from "./help";

src/cli/manifest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 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
33
export const manifest = require("../../package.json") as Manifest;
44

55
/**

src/cli/parse-args.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// tslint:disable: no-console
21
import * as commandLineArgs from "command-line-args";
32
import { Options } from "..";
43
import { ExitCode } from "./exit-code";

src/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ export { Options } from "./settings";
44
export { myLibrary };
55

66
// Export `myLibrary` as the default export
7-
// tslint:disable: no-default-export
87
export default myLibrary;
98

109
// CommonJS default export hack
1110
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);
1312
}

0 commit comments

Comments
 (0)