Skip to content

Commit

Permalink
feat(linter): remove tslint logic (#19002)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored Oct 6, 2023
1 parent 479d9a5 commit a3a0496
Show file tree
Hide file tree
Showing 57 changed files with 18 additions and 6,848 deletions.
16 changes: 0 additions & 16 deletions docs/generated/manifests/menus.json
Original file line number Diff line number Diff line change
Expand Up @@ -6047,14 +6047,6 @@
"isExternal": false,
"disableCollapsible": false
},
{
"id": "convert-tslint-to-eslint",
"path": "/nx-api/angular/generators/convert-tslint-to-eslint",
"name": "convert-tslint-to-eslint",
"children": [],
"isExternal": false,
"disableCollapsible": false
},
{
"id": "directive",
"path": "/nx-api/angular/generators/directive",
Expand Down Expand Up @@ -7117,14 +7109,6 @@
"isExternal": false,
"disableCollapsible": false
},
{
"id": "convert-tslint-to-eslint",
"path": "/nx-api/nest/generators/convert-tslint-to-eslint",
"name": "convert-tslint-to-eslint",
"children": [],
"isExternal": false,
"disableCollapsible": false
},
{
"id": "init",
"path": "/nx-api/nest/generators/init",
Expand Down
18 changes: 0 additions & 18 deletions docs/generated/manifests/nx-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,6 @@
"path": "/nx-api/angular/generators/component-test",
"type": "generator"
},
"/nx-api/angular/generators/convert-tslint-to-eslint": {
"description": "Converts a project from TSLint to ESLint.",
"file": "generated/packages/angular/generators/convert-tslint-to-eslint.json",
"hidden": false,
"name": "convert-tslint-to-eslint",
"originalFilePath": "/packages/angular/src/generators/convert-tslint-to-eslint/schema.json",
"path": "/nx-api/angular/generators/convert-tslint-to-eslint",
"type": "generator"
},
"/nx-api/angular/generators/directive": {
"description": "Generate an Angular directive.",
"file": "generated/packages/angular/generators/directive.json",
Expand Down Expand Up @@ -1180,15 +1171,6 @@
"path": "/nx-api/nest/generators/application",
"type": "generator"
},
"/nx-api/nest/generators/convert-tslint-to-eslint": {
"description": "Convert a project from TSLint to ESLint.",
"file": "generated/packages/nest/generators/convert-tslint-to-eslint.json",
"hidden": false,
"name": "convert-tslint-to-eslint",
"originalFilePath": "/packages/nest/src/generators/convert-tslint-to-eslint/schema.json",
"path": "/nx-api/nest/generators/convert-tslint-to-eslint",
"type": "generator"
},
"/nx-api/nest/generators/init": {
"description": "Initialize the `@nrwl/nest` plugin.",
"file": "generated/packages/nest/generators/init.json",
Expand Down
18 changes: 0 additions & 18 deletions docs/generated/packages-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,6 @@
"path": "angular/generators/component-test",
"type": "generator"
},
{
"description": "Converts a project from TSLint to ESLint.",
"file": "generated/packages/angular/generators/convert-tslint-to-eslint.json",
"hidden": false,
"name": "convert-tslint-to-eslint",
"originalFilePath": "/packages/angular/src/generators/convert-tslint-to-eslint/schema.json",
"path": "angular/generators/convert-tslint-to-eslint",
"type": "generator"
},
{
"description": "Generate an Angular directive.",
"file": "generated/packages/angular/generators/directive.json",
Expand Down Expand Up @@ -1162,15 +1153,6 @@
"path": "nest/generators/application",
"type": "generator"
},
{
"description": "Convert a project from TSLint to ESLint.",
"file": "generated/packages/nest/generators/convert-tslint-to-eslint.json",
"hidden": false,
"name": "convert-tslint-to-eslint",
"originalFilePath": "/packages/nest/src/generators/convert-tslint-to-eslint/schema.json",
"path": "nest/generators/convert-tslint-to-eslint",
"type": "generator"
},
{
"description": "Initialize the `@nrwl/nest` plugin.",
"file": "generated/packages/nest/generators/init.json",
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion docs/generated/packages/linter/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ nx lint my-lib
## Utils

- [convert-to-flat-config](/nx-api/linter/generators/convert-to-flat-config) - Converts the workspace's [ESLint](https://eslint.org/) configs to the new [Flat Config](https://eslint.org/blog/2022/08/new-config-system-part-2)
- **Deprecated** [convert-tslint-to-eslint](/nx-api/angular/generators/convert-tslint-to-eslint) - Converts a project linter from [TSLint](https://palantir.github.io/tslint/) to [ESLint](https://eslint.org/)

## ESLint plugin

Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions docs/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"component-cypress-spec",
"component-story",
"component-test",
"convert-tslint-to-eslint",
"downgrade-module",
"init",
"karma",
Expand Down Expand Up @@ -186,7 +185,6 @@
"executors": [],
"generators": [
"application",
"convert-tslint-to-eslint",
"init",
"library",
"class",
Expand Down
115 changes: 0 additions & 115 deletions docs/shared/mental-model/large-tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -8188,24 +8188,6 @@
"file": "packages/angular/src/generators/convert-to-with-mf/schema.json",
"hash": "ce0a0a44c5560369c7eccc27cb3397bec7044b84"
},
{
"file": "packages/angular/src/generators/convert-tslint-to-eslint/__snapshots__/convert-tslint-to-eslint.spec.ts.snap",
"hash": "88a46d8d249b5e8cacbcee62b34eaafa179fe072"
},
{
"file": "packages/angular/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.spec.ts",
"hash": "d9ef5aa20defb703c8cd0d007141e973c15ece74",
"deps": ["devkit", "linter"]
},
{
"file": "packages/angular/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.ts",
"hash": "cbbde4fcdf3983aafd4d3ec1a7f50cf4b90e22a2",
"deps": ["cypress", "devkit", "linter", "npm:eslint"]
},
{
"file": "packages/angular/src/generators/convert-tslint-to-eslint/schema.json",
"hash": "c3b47a2dee7b256b9d74c6ae11a24f7fe31bcf18"
},
{
"file": "packages/angular/src/generators/cypress-component-configuration/__snapshots__/cypress-component-configuration.spec.ts.snap",
"hash": "cde7951d23c9c688fae6926d6c72eaeabb30b0f1"
Expand Down Expand Up @@ -10642,24 +10624,6 @@
"file": "packages/cypress/src/executors/cypress/schema.json",
"hash": "1e62f9dc2fb140c35dd41cde710ecbe39bedb0ea"
},
{
"file": "packages/cypress/src/generators/convert-tslint-to-eslint/__snapshots__/convert-tslint-to-eslint.spec.ts.snap",
"hash": "9eae619b87c6e22815cde69073bc0bb1471355da"
},
{
"file": "packages/cypress/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.spec.ts",
"hash": "6748869ec5c7c6f4e794d75b43308125c364ca2c",
"deps": ["devkit", "linter"]
},
{
"file": "packages/cypress/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.ts",
"hash": "da0dd512554fc7ac8e0119675af3093a1e7db20c",
"deps": ["devkit", "linter", "npm:eslint"]
},
{
"file": "packages/cypress/src/generators/convert-tslint-to-eslint/schema.json",
"hash": "a17853c7974502253b2d0c70644281b896396924"
},
{
"file": "packages/cypress/src/generators/cypress-component-project/__snapshots__/cypress-component-project.spec.ts.snap",
"hash": "36e5eec5d8f46d596590918a7285b17baaa7491b"
Expand Down Expand Up @@ -12905,66 +12869,6 @@
"hash": "c40a4057d319e764fe1036ee11340ab8dc0913c4",
"deps": ["devkit", "workspace"]
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/__snapshots__/convert-to-eslint-config.spec.ts.snap",
"hash": "a2c28519469336f0570d45d89e19b45bb21a246c"
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/__snapshots__/project-converter.spec.ts.snap",
"hash": "2977c64472b0117a1dfe68578a364c1e9dd62c25"
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/convert-nx-enforce-module-boundaries-rule.spec.ts",
"hash": "044ca66897f1760b5880dbd919f6cb03eea3997a"
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/convert-nx-enforce-module-boundaries-rule.ts",
"hash": "fcc7325c70e5f771bbaf57fd941323cdb500191e",
"deps": ["npm:tslint-to-eslint-config"]
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/convert-to-eslint-config.spec.ts",
"hash": "673ab6bce04f69e7a83c3e61f396f6737f29a04a",
"deps": ["devkit"]
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/convert-to-eslint-config.ts",
"hash": "3c72b9cba9d5239bd29d85b3558db71c940fe1fb",
"deps": [
"devkit",
"npm:eslint",
"npm:tmp",
"npm:tslint-to-eslint-config"
]
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/example-tslint-configs.ts",
"hash": "2c4123c381aaa6c18eebb53871e346600247d198"
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/index.ts",
"hash": "cc95094649634a3a38643aef1808f95c7b1ec24f"
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/project-converter.spec.ts",
"hash": "b38af0e8a1a5c83d1bd4938d132b4d1159796471",
"deps": ["devkit"]
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/project-converter.ts",
"hash": "fb446fabddcfbc205ffd21b879d465f4b966a235",
"deps": ["devkit", "npm:eslint"]
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/utils.spec.ts",
"hash": "6b1b4492c31d634d109988e63140add48db58ba0",
"deps": ["npm:eslint"]
},
{
"file": "packages/linter/src/utils/convert-tslint-to-eslint/utils.ts",
"hash": "cbb058ac8381c33b77e769a258d6bdbdb7142e26",
"deps": ["devkit", "npm:eslint", "npm:tslint-to-eslint-config"]
},
{
"file": "packages/linter/src/utils/rules-requiring-type-checking.ts",
"hash": "a5bb99e79b0d1b5b736419bcc42157197179cd66",
Expand Down Expand Up @@ -18074,24 +17978,6 @@
"file": "packages/nest/src/generators/controller/schema.json",
"hash": "a93969679f0b96aaaf2f59207e2c602bfb8df262"
},
{
"file": "packages/nest/src/generators/convert-tslint-to-eslint/__snapshots__/convert-tslint-to-eslint.spec.ts.snap",
"hash": "39896d5381137e79eb91c543f9a68e2458e174b3"
},
{
"file": "packages/nest/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.spec.ts",
"hash": "e3aa199189251121c4ddf3a103f9f75339320279",
"deps": ["devkit", "linter"]
},
{
"file": "packages/nest/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.ts",
"hash": "a1751f46b20f03f5bb0c31c8ca03fcbc4eecfe16",
"deps": ["devkit", "linter", "node", "workspace", "npm:eslint"]
},
{
"file": "packages/nest/src/generators/convert-tslint-to-eslint/schema.json",
"hash": "b728083f6ebb1ea27b7c055df547bebafcbbd8f9"
},
{
"file": "packages/nest/src/generators/decorator/decorator.spec.ts",
"hash": "a734ede264980d9035148aabd78c127c7aee856b",
Expand Down Expand Up @@ -27184,7 +27070,6 @@
"npm:ts-node",
"npm:tsconfig-paths",
"npm:tsconfig-paths-webpack-plugin",
"npm:tslint-to-eslint-config",
"npm:typedoc",
"npm:typedoc-plugin-markdown",
"npm:typescript",
Expand Down
1 change: 0 additions & 1 deletion docs/shared/packages/linter/linter-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ nx lint my-lib
## Utils

- [convert-to-flat-config](/nx-api/linter/generators/convert-to-flat-config) - Converts the workspace's [ESLint](https://eslint.org/) configs to the new [Flat Config](https://eslint.org/blog/2022/08/new-config-system-part-2)
- **Deprecated** [convert-tslint-to-eslint](/nx-api/angular/generators/convert-tslint-to-eslint) - Converts a project linter from [TSLint](https://palantir.github.io/tslint/) to [ESLint](https://eslint.org/)

## ESLint plugin

Expand Down
Loading

1 comment on commit a3a0496

@vercel
Copy link

@vercel vercel bot commented on a3a0496 Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev
nx-dev-nrwl.vercel.app

Please sign in to comment.