Skip to content
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

cleanup(repo): remove tslint #12279

Merged
merged 1 commit into from
Sep 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 docs/generated/packages/cypress.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint", "none"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"js": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/detox.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint", "none"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"js": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/expo.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down Expand Up @@ -163,7 +163,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/next.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"skipFormat": {
Expand Down Expand Up @@ -481,7 +481,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/node.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down Expand Up @@ -175,7 +175,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/react-native.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down Expand Up @@ -180,7 +180,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/react.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"routing": {
Expand Down Expand Up @@ -304,7 +304,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/storybook.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint", "none"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"js": {
Expand Down Expand Up @@ -225,7 +225,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint", "none"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"standaloneConfig": {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@
"ts-node": "10.9.1",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "3.5.2",
"tslint": "6.1.3",
"tslint-to-eslint-config": "^2.13.0",
"typedoc": "0.22.9",
"typedoc-plugin-markdown": "3.11.6",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { E2eTestRunner, UnitTestRunner } from '../../../utils/test-runners';
import type { AngularLinter, Schema } from '../schema';
import type { Schema } from '../schema';
import { Linter } from '@nrwl/linter';

export interface NormalizedSchema extends Schema {
linter: AngularLinter;
linter: Linter;
unitTestRunner: UnitTestRunner;
e2eTestRunner: E2eTestRunner;
prefix: string;
Expand Down
4 changes: 1 addition & 3 deletions packages/angular/src/generators/application/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { Linter } from '@nrwl/linter';
import { E2eTestRunner, UnitTestRunner } from '../../utils/test-runners';
import type { Styles } from '../utils/types';

type AngularLinter = Exclude<Linter, Linter.TsLint>;

export interface Schema {
name: string;
addTailwind?: boolean;
Expand All @@ -17,7 +15,7 @@ export interface Schema {
skipTests?: boolean;
directory?: string;
tags?: string;
linter?: AngularLinter;
linter?: Linter;
unitTestRunner?: UnitTestRunner;
e2eTestRunner?: E2eTestRunner;
backendProject?: string;
Expand Down
4 changes: 1 addition & 3 deletions packages/angular/src/generators/host/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { Linter } from '@nrwl/linter';
import { E2eTestRunner, UnitTestRunner } from '../../utils/test-runners';
import type { Styles } from '../utils/types';

type AngularLinter = Exclude<Linter, Linter.TsLint>;

export interface Schema {
name: string;
remotes?: string[];
Expand All @@ -17,7 +15,7 @@ export interface Schema {
skipTests?: boolean;
directory?: string;
tags?: string;
linter?: AngularLinter;
linter?: Linter;
unitTestRunner?: UnitTestRunner;
e2eTestRunner?: E2eTestRunner;
backendProject?: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/src/generators/init/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface Schema {
skipFormat?: boolean;
skipInstall?: boolean;
style?: Styles;
linter?: Exclude<Linter, Linter.TsLint>;
linter?: Linter;
skipPackageJson?: boolean;
skipPostInstall?: boolean;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { UnitTestRunner } from '../../../utils/test-runners';
import type { AngularLinter } from '../schema';
import type { Linter } from '@nrwl/linter';

export interface NormalizedSchema {
libraryOptions: {
Expand Down Expand Up @@ -28,7 +28,7 @@ export interface NormalizedSchema {
skipPackageJson?: boolean;
skipPostInstall?: boolean;
standalone?: boolean;
linter: AngularLinter;
linter: Linter;
unitTestRunner: UnitTestRunner;
prefix: string;
fileName: string;
Expand Down
4 changes: 1 addition & 3 deletions packages/angular/src/generators/library/schema.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { UnitTestRunner } from '../../utils/test-runners';
import { Linter } from '@nrwl/linter';

type AngularLinter = Exclude<Linter, Linter.TsLint>;

export interface Schema {
name: string;
addTailwind?: boolean;
Expand All @@ -24,7 +22,7 @@ export interface Schema {
parentModule?: string;
tags?: string;
strict?: boolean;
linter?: AngularLinter;
linter?: Linter;
unitTestRunner?: UnitTestRunner;
compilationMode?: 'full' | 'partial';
setParserOptionsProject?: boolean;
Expand Down
4 changes: 1 addition & 3 deletions packages/angular/src/generators/remote/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { Linter } from '@nrwl/linter';
import { E2eTestRunner, UnitTestRunner } from '../../utils/test-runners';
import type { Styles } from '../utils/types';

type AngularLinter = Exclude<Linter, Linter.TsLint>;

export interface Schema {
name: string;
host?: string;
Expand All @@ -16,7 +14,7 @@ export interface Schema {
skipTests?: boolean;
directory?: string;
tags?: string;
linter?: AngularLinter;
linter?: Linter;
unitTestRunner?: UnitTestRunner;
e2eTestRunner?: E2eTestRunner;
backendProject?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export interface StorybookConfigurationOptions {
configureCypress: boolean;
generateCypressSpecs: boolean;
generateStories: boolean;
linter: Exclude<Linter, Linter.TsLint>;
linter: Linter;
name: string;
cypressDirectory?: string;
tsConfiguration?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,15 @@ Object {
},
},
"lint": Object {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@nrwl/linter:eslint",
"options": Object {
"exclude": Array [
"**/node_modules/**",
"!apps/my-dir/my-app-e2e/**/*",
],
"tsConfig": Array [
"apps/my-dir/my-app-e2e/tsconfig.json",
"lintFilePatterns": Array [
"apps/my-dir/my-app-e2e/**/*.{js,ts}",
],
},
"outputs": Array [
"{options.outputFile}",
],
},
}
`;
Expand Down Expand Up @@ -96,16 +95,15 @@ Object {
},
},
"lint": Object {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@nrwl/linter:eslint",
"options": Object {
"exclude": Array [
"**/node_modules/**",
"!apps/my-dir/my-app-e2e/**/*",
],
"tsConfig": Array [
"apps/my-dir/my-app-e2e/tsconfig.json",
"lintFilePatterns": Array [
"apps/my-dir/my-app-e2e/**/*.{js,ts}",
],
},
"outputs": Array [
"{options.outputFile}",
],
},
}
`;
Expand All @@ -122,16 +120,15 @@ Object {
},
},
"lint": Object {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@nrwl/linter:eslint",
"options": Object {
"exclude": Array [
"**/node_modules/**",
"!apps/my-app-e2e/**/*",
],
"tsConfig": Array [
"apps/my-app-e2e/tsconfig.json",
"lintFilePatterns": Array [
"apps/my-app-e2e/**/*.{js,ts}",
],
},
"outputs": Array [
"{options.outputFile}",
],
},
}
`;
Expand All @@ -153,16 +150,15 @@ Object {
},
},
"lint": Object {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@nrwl/linter:eslint",
"options": Object {
"exclude": Array [
"**/node_modules/**",
"!apps/my-app-e2e/**/*",
],
"tsConfig": Array [
"apps/my-app-e2e/tsconfig.json",
"lintFilePatterns": Array [
"apps/my-app-e2e/**/*.{js,ts}",
],
},
"outputs": Array [
"{options.outputFile}",
],
},
}
`;
Expand All @@ -184,16 +180,15 @@ Object {
},
},
"lint": Object {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@nrwl/linter:eslint",
"options": Object {
"exclude": Array [
"**/node_modules/**",
"!apps/my-app-e2e/**/*",
],
"tsConfig": Array [
"apps/my-app-e2e/tsconfig.json",
"lintFilePatterns": Array [
"apps/my-app-e2e/**/*.{js,ts}",
],
},
"outputs": Array [
"{options.outputFile}",
],
},
}
`;
Expand Down
Loading