fix(linter): fix legacy linter migrations (#16462)

This commit is contained in:
Jason Jean 2023-04-21 13:29:09 -04:00 committed by GitHub
parent 219ad67e74
commit 88b9687451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
46 changed files with 48 additions and 48 deletions

View File

@ -5,7 +5,7 @@
"node": true "node": true
}, },
"ignorePatterns": ["**/*.ts"], "ignorePatterns": ["**/*.ts"],
"plugins": ["@typescript-eslint", "@nrwl/nx"], "plugins": ["@typescript-eslint", "@nx"],
"extends": [], "extends": [],
"rules": { "rules": {
"@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/explicit-module-boundary-types": "off",
@ -27,7 +27,7 @@
"files": ["**/executors/**/schema.json", "**/generators/**/schema.json"], "files": ["**/executors/**/schema.json", "**/generators/**/schema.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/workspace/valid-schema-description": "error" "@nx/workspace/valid-schema-description": "error"
} }
} }
] ]

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"rules": { "rules": {
"@typescript-eslint/no-implicit-any": "off" "@typescript-eslint/no-implicit-any": "off"

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,4 +1,4 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*", "**/.next"] "ignorePatterns": ["!**/*", "**/.next"]
} }

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@ -58,7 +58,6 @@
"@ngrx/router-store": "~15.3.0", "@ngrx/router-store": "~15.3.0",
"@ngrx/store": "~15.3.0", "@ngrx/store": "~15.3.0",
"@nguniversal/builders": "~15.2.0", "@nguniversal/builders": "~15.2.0",
"@nrwl/eslint-plugin-nx": "16.0.0-beta.5",
"nx-cloud": "16.0.1", "nx-cloud": "16.0.1",
"@nx/webpack": "16.0.0-beta.5", "@nx/webpack": "16.0.0-beta.5",
"@parcel/watcher": "2.0.4", "@parcel/watcher": "2.0.4",
@ -265,7 +264,8 @@
"@nx/react": "16.0.0-beta.5", "@nx/react": "16.0.0-beta.5",
"@nx/jest": "16.0.0-beta.5", "@nx/jest": "16.0.0-beta.5",
"@nx/next": "16.0.0-beta.5", "@nx/next": "16.0.0-beta.5",
"@nx/angular": "16.0.0-beta.5" "@nx/angular": "16.0.0-beta.5",
"@nx/eslint-plugin": "16.0.0-beta.5"
}, },
"author": "Victor Savkin", "author": "Victor Savkin",
"license": "MIT", "license": "MIT",

View File

@ -30,6 +30,6 @@
"access": "public" "access": "public"
}, },
"nx-migrations": { "nx-migrations": {
"migrations": "@nx/eslint-plugin-nx/migrations.json" "migrations": "@nx/eslint-plugin/migrations.json"
} }
} }

View File

@ -31,7 +31,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -22,7 +22,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
], ],

View File

@ -12,7 +12,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -50,7 +50,7 @@
"files": ["./package.json"], "files": ["./package.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -18,7 +18,7 @@
"files": ["./package.json", "./generators.json", "./executors.json"], "files": ["./package.json", "./generators.json", "./executors.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -12,7 +12,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -32,7 +32,7 @@
"files": ["./package.json", "./generators.json", "./migrations.json"], "files": ["./package.json", "./generators.json", "./migrations.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -22,7 +22,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
], ],

View File

@ -25,7 +25,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -22,7 +22,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
], ],

View File

@ -32,7 +32,7 @@
"files": ["./package.json", "./generators.json", "./migrations.json"], "files": ["./package.json", "./generators.json", "./migrations.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -28,7 +28,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
], ],

View File

@ -37,7 +37,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -39,7 +39,7 @@
"files": ["./package.json", "./executors.json", "./migrations.json"], "files": ["./package.json", "./executors.json", "./migrations.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": [ "@nx/nx-plugin-checks": [
"error", "error",
{ {
"allowedVersionStrings": ["latest"] "allowedVersionStrings": ["latest"]

View File

@ -111,7 +111,7 @@
"@nx/esbuild", "@nx/esbuild",
"@nrwl/esbuild", "@nrwl/esbuild",
"@nx/eslint-plugin", "@nx/eslint-plugin",
"@nrwl/eslint-plugin-nx", "@nx/eslint-plugin",
"@nx/expo", "@nx/expo",
"@nrwl/expo", "@nrwl/expo",
"@nx/express", "@nx/express",

View File

@ -36,7 +36,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -12,7 +12,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -28,7 +28,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
], ],

View File

@ -18,7 +18,7 @@
"files": ["./package.json", "./generators.json", "./executors.json"], "files": ["./package.json", "./generators.json", "./executors.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -28,7 +28,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
], ],

View File

@ -18,7 +18,7 @@
"files": ["./package.json", "./generators.json", "./executors.json"], "files": ["./package.json", "./generators.json", "./executors.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -28,7 +28,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
], ],

View File

@ -18,7 +18,7 @@
"files": ["./package.json", "./generators.json", "./executors.json"], "files": ["./package.json", "./generators.json", "./executors.json"],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": "error" "@nx/nx-plugin-checks": "error"
} }
} }
] ]

View File

@ -28,7 +28,7 @@
], ],
"parser": "jsonc-eslint-parser", "parser": "jsonc-eslint-parser",
"rules": { "rules": {
"@nrwl/nx/nx-plugin-checks": [ "@nx/nx-plugin-checks": [
"error", "error",
{ {
"allowedVersionStrings": ["latest", "*"] "allowedVersionStrings": ["latest", "*"]