Skip to content

Commit

Permalink
fix(linter): remove leftovers after tslint support removal
Browse files Browse the repository at this point in the history
removes tslint references and generators options missed in #12279
  • Loading branch information
Phillip9587 committed Sep 29, 2022
1 parent 8c8c29c commit 8ab0b73
Show file tree
Hide file tree
Showing 39 changed files with 81 additions and 211 deletions.
4 changes: 2 additions & 2 deletions docs/generated/packages/expo.json
Expand Up @@ -87,7 +87,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"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"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/express.json
Expand Up @@ -82,7 +82,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/linter.json
Expand Up @@ -104,14 +104,14 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"config": {
"type": "string",
"description": "The name of the configuration file.",
"x-completion-type": "file",
"x-completion-glob": "(tslint.json|.eslintrc.json)"
"x-completion-glob": ".eslintrc.json)"
},
"tsConfig": {
"description": "The name of the TypeScript configuration file.",
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/next.json
Expand Up @@ -131,7 +131,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"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"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/packages/node.json
Expand Up @@ -86,7 +86,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"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"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
5 changes: 2 additions & 3 deletions docs/generated/packages/nx-plugin.json
Expand Up @@ -50,9 +50,8 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"default": "eslint",
"x-deprecated": "TSLint support is deprecated and will be removed"
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions docs/generated/packages/react-native.json
Expand Up @@ -102,7 +102,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"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"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down Expand Up @@ -375,7 +375,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"standaloneConfig": {
Expand Down
10 changes: 5 additions & 5 deletions docs/generated/packages/react.json
Expand Up @@ -136,7 +136,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"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"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down Expand Up @@ -645,7 +645,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"standaloneConfig": {
Expand Down Expand Up @@ -956,7 +956,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"skipFormat": {
Expand Down Expand Up @@ -1113,7 +1113,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"routing": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/web.json
Expand Up @@ -120,7 +120,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"skipFormat": {
Expand Down
6 changes: 3 additions & 3 deletions docs/generated/packages/workspace.json
Expand Up @@ -135,7 +135,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["tslint", "eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"style": {
Expand Down Expand Up @@ -340,7 +340,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["tslint", "eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"packageManager": {
Expand Down Expand Up @@ -389,7 +389,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/src/generators/ng-add/schema.d.ts
Expand Up @@ -14,6 +14,6 @@ export interface GeneratorOptions {
skipInstall?: boolean;
skipPostInstall?: boolean;
style?: Styles;
linter?: Exclude<Linter, Linter.TsLint>;
linter?: Linter;
skipPackageJson?: boolean;
}
2 changes: 1 addition & 1 deletion packages/expo/src/generators/application/schema.json
Expand Up @@ -41,7 +41,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/generators/library/schema.json
Expand Up @@ -29,7 +29,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
2 changes: 1 addition & 1 deletion packages/express/src/generators/application/schema.json
Expand Up @@ -33,7 +33,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
8 changes: 5 additions & 3 deletions packages/linter/src/executors/lint/schema.json
Expand Up @@ -8,14 +8,14 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"config": {
"type": "string",
"description": "The name of the configuration file.",
"x-completion-type": "file",
"x-completion-glob": "(tslint.json|.eslintrc.json)"
"x-completion-glob": ".eslintrc.json)"
},
"tsConfig": {
"description": "The name of the TypeScript configuration file.",
Expand Down Expand Up @@ -57,7 +57,9 @@
"tap"
]
},
{ "minLength": 1 }
{
"minLength": 1
}
]
},
"exclude": {
Expand Down
2 changes: 1 addition & 1 deletion packages/nest/src/generators/application/schema.d.ts
Expand Up @@ -5,7 +5,7 @@ export interface ApplicationGeneratorOptions {
name: string;
directory?: string;
frontendProject?: string;
linter?: Exclude<Linter, Linter.TsLint>;
linter?: Linter;
skipFormat?: boolean;
skipPackageJson?: boolean;
standaloneConfig?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/nest/src/generators/library/schema.d.ts
Expand Up @@ -8,7 +8,7 @@ export interface LibraryGeneratorOptions {
directory?: string;
global?: boolean;
importPath?: string;
linter?: Exclude<Linter, Linter.TsLint>;
linter?: Linter;
publishable?: boolean;
service?: boolean;
skipFormat?: boolean;
Expand Down
7 changes: 5 additions & 2 deletions packages/next/src/generators/application/schema.json
Expand Up @@ -36,7 +36,10 @@
"message": "Which stylesheet format would you like to use?",
"type": "list",
"items": [
{ "value": "css", "label": "CSS" },
{
"value": "css",
"label": "CSS"
},
{
"value": "scss",
"label": "SASS(.scss) [ http://sass-lang.com ]"
Expand Down Expand Up @@ -71,7 +74,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"skipFormat": {
Expand Down
7 changes: 5 additions & 2 deletions packages/next/src/generators/library/schema.json
Expand Up @@ -40,7 +40,10 @@
"message": "Which stylesheet format would you like to use?",
"type": "list",
"items": [
{ "value": "css", "label": "CSS" },
{
"value": "css",
"label": "CSS"
},
{
"value": "scss",
"label": "SASS(.scss) [ http://sass-lang.com ]"
Expand Down Expand Up @@ -75,7 +78,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/generators/application/schema.json
Expand Up @@ -32,7 +32,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/generators/library/schema.json
Expand Up @@ -34,7 +34,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
5 changes: 2 additions & 3 deletions packages/nx-plugin/src/generators/plugin/schema.json
Expand Up @@ -33,9 +33,8 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"default": "eslint",
"x-deprecated": "TSLint support is deprecated and will be removed"
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
"type": "string",
Expand Down
1 change: 0 additions & 1 deletion packages/nx/src/utils/versions.ts
Expand Up @@ -3,7 +3,6 @@ export const nxVersion = require('../../package.json').version;
export const angularCliVersion = '~14.2.0';
export const typescriptVersion = '~4.8.2';
export const prettierVersion = '^2.6.2';
export const tslintVersion = '~6.1.0';
export const typescriptESLintVersion = '^5.36.1';
export const eslintVersion = '~8.15.0';
export const eslintConfigPrettierVersion = '8.1.0';
Expand Down
Expand Up @@ -42,7 +42,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/src/generators/library/schema.json
Expand Up @@ -30,7 +30,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"unitTestRunner": {
Expand Down
Expand Up @@ -36,7 +36,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "tslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"standaloneConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/generators/application/schema.json
Expand Up @@ -82,7 +82,7 @@
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint"],
"enum": ["eslint", "none"],
"default": "eslint"
},
"routing": {
Expand Down

0 comments on commit 8ab0b73

Please sign in to comment.