1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.CustomLinter = void 0;
|
4 | const tslint_1 = require("tslint");
|
5 |
|
6 |
|
7 | const TSLintLinter = tslint_1.Linter;
|
8 | class CustomLinter extends TSLintLinter {
|
9 | constructor(options, program) {
|
10 | super(options, program);
|
11 | this.program = program;
|
12 | }
|
13 | getResult() {
|
14 | return super.getResult();
|
15 | }
|
16 | getSourceFile(fileName) {
|
17 | return this.program.getSourceFile(fileName);
|
18 | }
|
19 | }
|
20 | exports.CustomLinter = CustomLinter;
|
21 |
|
\ | No newline at end of file |