Skip to content

build: cleanup leftover from esModuleInterop in tools #24493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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