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' ;
@@ -100,6 +102,7 @@ export class IncrementalChecker {
100
102
}
101
103
102
104
static loadLinterConfig ( configFile : string ) : ConfigurationFile {
105
+ // tslint:disable-next-line:no-implicit-dependencies
103
106
const tslint = require ( 'tslint' ) ;
104
107
105
108
return tslint . Configuration . loadConfigurationFromPath (
@@ -149,6 +152,7 @@ export class IncrementalChecker {
149
152
}
150
153
151
154
static createLinter ( program : ts . Program ) {
155
+ // tslint:disable-next-line:no-implicit-dependencies
152
156
const tslint = require ( 'tslint' ) ;
153
157
154
158
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