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
12import * as ts from 'typescript' ;
23
34interface DataShape {
Original file line number Diff line number Diff line change 11import * as fs from 'fs' ;
22import endsWith = require( 'lodash/endsWith' ) ;
33import * as path from 'path' ;
4+ // tslint:disable-next-line:no-implicit-dependencies
45import * as ts from 'typescript' ;
6+ // tslint:disable-next-line:no-implicit-dependencies
57import { Configuration , Linter } from 'tslint' ; // Imported for types alone; actual requires take place in methods below
68import { FilesRegister } from './FilesRegister' ;
79import { FilesWatcher } from './FilesWatcher' ;
@@ -100,6 +102,7 @@ export class IncrementalChecker {
100102 }
101103
102104 static loadLinterConfig ( configFile : string ) : ConfigurationFile {
105+ // tslint:disable-next-line:no-implicit-dependencies
103106 const tslint = require ( 'tslint' ) ;
104107
105108 return tslint . Configuration . loadConfigurationFromPath (
@@ -149,6 +152,7 @@ export class IncrementalChecker {
149152 }
150153
151154 static createLinter ( program : ts . Program ) {
155+ // tslint:disable-next-line:no-implicit-dependencies
152156 const tslint = require ( 'tslint' ) ;
153157
154158 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
12import { Diagnostic , DiagnosticMessageChain } from 'typescript' ;
3+ // tslint:disable-next-line:no-implicit-dependencies
24import { RuleFailure } from 'tslint' ;
35
46type ErrorType = 'diagnostic' | 'lint' ;
Original file line number Diff line number Diff line change 11import * as fs from 'fs' ;
22import * as path from 'path' ;
3+ // tslint:disable-next-line:no-implicit-dependencies
34import * as ts from 'typescript' ;
45import { FilesRegister } from './FilesRegister' ;
56import { FilesWatcher } from './FilesWatcher' ;
Original file line number Diff line number Diff line change 1+ // tslint:disable-next-line:no-implicit-dependencies
12import * as ts from 'typescript' ;
23
34export class WorkSet {
You can’t perform that action at this time.
0 commit comments