File tree Expand file tree Collapse file tree 5 files changed +9
-0
lines changed Expand file tree Collapse file tree 5 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ // tslint:disable-next-line:no-implicit-dependencies
1
2
import * as ts from 'typescript' ;
2
3
3
4
interface DataShape {
Original file line number Diff line number Diff line change 1
1
import * as fs from 'fs' ;
2
2
import endsWith = require( 'lodash.endswith' ) ;
3
3
import * as path from 'path' ;
4
+ // tslint:disable-next-line:no-implicit-dependencies
4
5
import * as ts from 'typescript' ;
6
+ // tslint:disable-next-line:no-implicit-dependencies
5
7
import { Configuration , Linter } from 'tslint' ; // Imported for types alone; actual requires take place in methods below
6
8
import { FilesRegister } from './FilesRegister' ;
7
9
import { FilesWatcher } from './FilesWatcher' ;
@@ -86,6 +88,7 @@ export class IncrementalChecker {
86
88
}
87
89
88
90
static loadLinterConfig ( configFile : string ) : ConfigurationFile {
91
+ // tslint:disable-next-line:no-implicit-dependencies
89
92
const tslint = require ( 'tslint' ) ;
90
93
91
94
return tslint . Configuration . loadConfigurationFromPath (
@@ -135,6 +138,7 @@ export class IncrementalChecker {
135
138
}
136
139
137
140
static createLinter ( program : ts . Program ) {
141
+ // tslint:disable-next-line:no-implicit-dependencies
138
142
const tslint = require ( 'tslint' ) ;
139
143
140
144
return new tslint . Linter ( { fix : false } , program ) ;
Original file line number Diff line number Diff line change
1
+ // tslint:disable-next-line:no-implicit-dependencies
1
2
import { Diagnostic , DiagnosticMessageChain } from 'typescript' ;
3
+ // tslint:disable-next-line:no-implicit-dependencies
2
4
import { RuleFailure } from 'tslint' ;
3
5
4
6
type ErrorType = 'diagnostic' | 'lint' ;
Original file line number Diff line number Diff line change 1
1
import * as fs from 'fs' ;
2
2
import * as path from 'path' ;
3
+ // tslint:disable-next-line:no-implicit-dependencies
3
4
import * as ts from 'typescript' ;
4
5
import { FilesRegister } from './FilesRegister' ;
5
6
import { FilesWatcher } from './FilesWatcher' ;
Original file line number Diff line number Diff line change
1
+ // tslint:disable-next-line:no-implicit-dependencies
1
2
import * as ts from 'typescript' ;
2
3
3
4
export class WorkSet {
You can’t perform that action at this time.
0 commit comments