Skip to content

Commit a32429f

Browse files
alan-agius4mgechev
authored andcommitted
style: disable no-implicit-dependencies in scripts and rules
1 parent 0ba12c3 commit a32429f

File tree

7 files changed

+13
-1
lines changed

7 files changed

+13
-1
lines changed

etc/rules/Rule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
// tslint:disable-next-line: no-global-tslint-disable
9+
// tslint:disable: no-implicit-dependencies
810
import * as Lint from 'tslint';
911
import * as ts from 'typescript';
1012

etc/rules/defocusRule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* MIT - https://github.com/Sergiioo/tslint-defocus/blob/master/LICENSE
1313
*/
1414

15+
// tslint:disable-next-line: no-global-tslint-disable
16+
// tslint:disable: no-implicit-dependencies
1517
import * as Lint from 'tslint';
1618
import * as ts from 'typescript';
1719

etc/rules/importGroupsRule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
// tslint:disable-next-line: no-global-tslint-disable
9+
// tslint:disable: no-implicit-dependencies
810
import * as Lint from 'tslint';
911
import * as ts from 'typescript';
1012

etc/rules/noGlobalTslintDisableRule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
// tslint:disable-next-line: no-global-tslint-disable
9+
// tslint:disable: no-implicit-dependencies
810
import * as path from 'path';
911
import * as Lint from 'tslint';
1012
import * as ts from 'typescript';

etc/rules/singleEofLineRule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
// tslint:disable-next-line: no-global-tslint-disable
9+
// tslint:disable: no-implicit-dependencies
810
import * as Lint from 'tslint';
911
import * as ts from 'typescript';
1012

lib/packages.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
// tslint:disable-next-line:no-implicit-dependencies
8+
// tslint:disable-next-line: no-global-tslint-disable
9+
// tslint:disable: no-implicit-dependencies
910
import { JsonObject } from '@angular-devkit/core';
1011
import { execSync } from 'child_process';
1112
import * as fs from 'fs';

scripts/publish-docs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import * as fs from 'fs';
1111
import * as path from 'path';
1212
import { packages } from '../lib/packages';
1313

14+
// tslint:disable: no-implicit-dependencies
1415
const temp = require('temp');
1516

1617
function die(message = 'Unknown error.') {

0 commit comments

Comments
 (0)