Skip to content

Commit

Permalink
build: cleanup leftover from esModuleInterop in tools (#24493)
Browse files Browse the repository at this point in the history
Cleans up a few leftovers that were accidentally missed in:
0f8d529

(cherry picked from commit 9ad184d)
  • Loading branch information
devversion authored and andrewseguin committed Feb 28, 2022
1 parent e2d4eec commit 6977597
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion scripts/generate-schematic-imports-map.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {sync as glob} from 'glob';
import {readFileSync, writeFileSync} from 'fs';
import {join, basename} from 'path';
import * as ts from 'typescript';
import ts from 'typescript';

// Script that generates mappings from our publicly-exported symbols to their entry points. The
// mappings are intended to be used by the secondary entry points schematic and should be committed
Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/noHostDecoratorInConcreteRule.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from 'typescript';
import ts from 'typescript';
import * as Lint from 'tslint';

export class Rule extends Lint.Rules.AbstractRule {
Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/noLifecycleInvocationRule.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as path from 'path';
import * as Lint from 'tslint';
import * as ts from 'typescript';
import ts from 'typescript';
import minimatch from 'minimatch';

const hooks = new Set([
Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/noNestedTernaryRule.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as Lint from 'tslint';
import * as ts from 'typescript';
import ts from 'typescript';

/** Rule that enforces that ternary expressions aren't being nested. */
export class Rule extends Lint.Rules.AbstractRule {
Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/noPrivateGettersRule.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from 'typescript';
import ts from 'typescript';
import * as Lint from 'tslint';
import * as tsutils from 'tsutils';

Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/noUndecoratedBaseClassDiRule.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as Lint from 'tslint';
import * as ts from 'typescript';
import ts from 'typescript';

const RULE_FAILURE =
`Class inherits constructor using dependency injection from ` +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as Lint from 'tslint';
import * as ts from 'typescript';
import ts from 'typescript';

const RULE_FAILURE =
`Undecorated class uses Angular features. Undecorated ` +
Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/noUnescapedHtmlTagRule.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from 'typescript';
import ts from 'typescript';
import * as Lint from 'tslint';
import * as utils from 'tsutils';

Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/preferConstEnumRule.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from 'typescript';
import ts from 'typescript';
import * as Lint from 'tslint';
import * as tsutils from 'tsutils';

Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/requireBreakingChangeVersionRule.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from 'typescript';
import ts from 'typescript';
import * as Lint from 'tslint';
import * as utils from 'tsutils';

Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/settersAfterGettersRule.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from 'typescript';
import ts from 'typescript';
import * as Lint from 'tslint';
import * as tsutils from 'tsutils';

Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/symbolNamingRule.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from 'typescript';
import ts from 'typescript';
import * as Lint from 'tslint';

/** Lint rule that checks the names of classes and interfaces against a pattern. */
Expand Down

0 comments on commit 6977597

Please sign in to comment.