diff --git a/graph/client-e2e/project.json b/graph/client-e2e/project.json index 80dcc92252107..521e10aa8e882 100644 --- a/graph/client-e2e/project.json +++ b/graph/client-e2e/project.json @@ -60,13 +60,7 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["graph/client-e2e/**/*.ts"] - } - } + "lint": {} }, "implicitDependencies": ["graph-client"] } diff --git a/graph/client/project.json b/graph/client/project.json index e64ab2515184a..cc83ff7052e48 100644 --- a/graph/client/project.json +++ b/graph/client/project.json @@ -239,13 +239,7 @@ }, "defaultConfiguration": "dev" }, - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["graph/client/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {}, "storybook": { "executor": "@nrwl/storybook:storybook", diff --git a/graph/ui-components/project.json b/graph/ui-components/project.json index afe15a9e8e00c..ff13f94e61f34 100644 --- a/graph/ui-components/project.json +++ b/graph/ui-components/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": [], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["graph/ui-components/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {}, "storybook": { "executor": "@nrwl/storybook:storybook", diff --git a/graph/ui-graph/project.json b/graph/ui-graph/project.json index fb2fb932b403d..4105216cedda4 100644 --- a/graph/ui-graph/project.json +++ b/graph/ui-graph/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": [], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["graph/ui-graph/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {}, "storybook": { "executor": "@nrwl/storybook:storybook", diff --git a/graph/ui-tooltips/project.json b/graph/ui-tooltips/project.json index 11f26f1427ec7..1230202989651 100644 --- a/graph/ui-tooltips/project.json +++ b/graph/ui-tooltips/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": [], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["graph/ui-tooltips/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {}, "storybook": { "executor": "@nrwl/storybook:storybook", diff --git a/nx-dev/data-access-documents/project.json b/nx-dev/data-access-documents/project.json index 1aff44a528124..546d0125bda18 100644 --- a/nx-dev/data-access-documents/project.json +++ b/nx-dev/data-access-documents/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/data-access-documents/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/data-access-documents/**/*.ts"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:data-access"] diff --git a/nx-dev/data-access-menu/project.json b/nx-dev/data-access-menu/project.json index 860baaf9f22dc..77c57c94a0813 100644 --- a/nx-dev/data-access-menu/project.json +++ b/nx-dev/data-access-menu/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/data-access-menu/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/data-access-menu/**/*.ts"] - } - }, + "lint": {}, "test": {} }, "tags": [] diff --git a/nx-dev/data-access-packages/project.json b/nx-dev/data-access-packages/project.json index 31f65f85c6b79..c34c406ff420a 100644 --- a/nx-dev/data-access-packages/project.json +++ b/nx-dev/data-access-packages/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/data-access-packages/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/data-access-packages/**/*.ts"] - } - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:data-access"] diff --git a/nx-dev/feature-analytics/project.json b/nx-dev/feature-analytics/project.json index 7f2582fe73b5f..df3d06e5b148a 100644 --- a/nx-dev/feature-analytics/project.json +++ b/nx-dev/feature-analytics/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/feature-analytics/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/feature-analytics/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:feature"] diff --git a/nx-dev/feature-doc-viewer/project.json b/nx-dev/feature-doc-viewer/project.json index 84f6cc8d4d2a6..6d7a0b994cd88 100644 --- a/nx-dev/feature-doc-viewer/project.json +++ b/nx-dev/feature-doc-viewer/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/feature-doc-viewer/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/feature-doc-viewer/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:feature"] diff --git a/nx-dev/feature-package-schema-viewer/project.json b/nx-dev/feature-package-schema-viewer/project.json index f2ed18ede6dfa..7d252fae8f9df 100644 --- a/nx-dev/feature-package-schema-viewer/project.json +++ b/nx-dev/feature-package-schema-viewer/project.json @@ -4,15 +4,7 @@ "sourceRoot": "nx-dev/feature-package-schema-viewer/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "nx-dev/feature-package-schema-viewer/**/*.{ts,tsx,js,jsx}" - ] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:feature"] diff --git a/nx-dev/feature-search/project.json b/nx-dev/feature-search/project.json index 42350262046f7..8669e5e704624 100644 --- a/nx-dev/feature-search/project.json +++ b/nx-dev/feature-search/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/feature-search/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/feature-search/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:feature"] diff --git a/nx-dev/models-document/project.json b/nx-dev/models-document/project.json index e40239d8aecad..e45d91ab4c4a7 100644 --- a/nx-dev/models-document/project.json +++ b/nx-dev/models-document/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/models-document/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/models-document/**/*.ts"] - } - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:util"] diff --git a/nx-dev/models-menu/project.json b/nx-dev/models-menu/project.json index ef5dcc917f1ef..ad3f5c8335aa7 100644 --- a/nx-dev/models-menu/project.json +++ b/nx-dev/models-menu/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/models-menu/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/models-menu/**/*.ts"] - } - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:util"] diff --git a/nx-dev/models-package/project.json b/nx-dev/models-package/project.json index 3d8868fee7200..a15234b345a1e 100644 --- a/nx-dev/models-package/project.json +++ b/nx-dev/models-package/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/models-package/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/models-package/**/*.ts"] - } - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:util"] diff --git a/nx-dev/nx-dev-e2e/project.json b/nx-dev/nx-dev-e2e/project.json index 526128c3b1ea6..740b02957d15e 100644 --- a/nx-dev/nx-dev-e2e/project.json +++ b/nx-dev/nx-dev-e2e/project.json @@ -18,13 +18,7 @@ "testingType": "e2e" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/nx-dev-e2e/**/*.{js,ts}"] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "tags": ["scope:nx-dev", "type:e2e"], "implicitDependencies": ["nx-dev"] diff --git a/nx-dev/nx-dev/project.json b/nx-dev/nx-dev/project.json index 41c01e00e9acf..e2bc18be3e337 100644 --- a/nx-dev/nx-dev/project.json +++ b/nx-dev/nx-dev/project.json @@ -99,13 +99,7 @@ "buildTarget": "nx-dev:build:production" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/nx-dev/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:app"], diff --git a/nx-dev/ui-commands/project.json b/nx-dev/ui-commands/project.json index 8ef6b7b2720b4..e8268352feb50 100644 --- a/nx-dev/ui-commands/project.json +++ b/nx-dev/ui-commands/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": ["scope:nx-dev", "type:ui"], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/ui-commands/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {} } } diff --git a/nx-dev/ui-common/project.json b/nx-dev/ui-common/project.json index bd5ed88124048..744b0de06e375 100644 --- a/nx-dev/ui-common/project.json +++ b/nx-dev/ui-common/project.json @@ -4,13 +4,7 @@ "sourceRoot": "nx-dev/ui-common/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/ui-common/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": ["scope:nx-dev", "type:ui"] diff --git a/nx-dev/ui-community/project.json b/nx-dev/ui-community/project.json index a47faf3aa049c..e8728ffa3e855 100644 --- a/nx-dev/ui-community/project.json +++ b/nx-dev/ui-community/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": ["scope:nx-dev", "type:ui"], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/ui-community/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {} } } diff --git a/nx-dev/ui-conference/project.json b/nx-dev/ui-conference/project.json index 9927d1db90c30..f6b03a4a5d423 100644 --- a/nx-dev/ui-conference/project.json +++ b/nx-dev/ui-conference/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": ["scope:nx-dev", "type:feature"], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/ui-conference/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} } } diff --git a/nx-dev/ui-home/project.json b/nx-dev/ui-home/project.json index 7450e0c17afe1..bf92c3cebe802 100644 --- a/nx-dev/ui-home/project.json +++ b/nx-dev/ui-home/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": ["scope:nx-dev", "type:ui"], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/ui-home/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "xtest": { "executor": "@nrwl/jest:jest", "outputs": ["{workspaceRoot}/coverage/nx-dev/ui-home"], diff --git a/nx-dev/ui-markdoc/project.json b/nx-dev/ui-markdoc/project.json index 771e246024cac..bfb9bfd2ff3ff 100644 --- a/nx-dev/ui-markdoc/project.json +++ b/nx-dev/ui-markdoc/project.json @@ -5,20 +5,7 @@ "projectType": "library", "tags": [], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/ui-markdoc/**/*.{ts,tsx,js,jsx}"] - } - }, - "test": { - "executor": "@nrwl/jest:jest", - "outputs": ["{workspaceRoot}/coverage/nx-dev/ui-markdoc"], - "options": { - "jestConfig": "nx-dev/ui-markdoc/jest.config.ts", - "passWithNoTests": true - } - } + "lint": {}, + "test": {} } } diff --git a/nx-dev/ui-member-card/project.json b/nx-dev/ui-member-card/project.json index 3e09aa8ebfbea..0a3f70446be39 100644 --- a/nx-dev/ui-member-card/project.json +++ b/nx-dev/ui-member-card/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": ["scope:nx-dev", "type:ui"], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/ui-member-card/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} } } diff --git a/nx-dev/ui-references/project.json b/nx-dev/ui-references/project.json index 54466193eb61e..fcfa2a702938d 100644 --- a/nx-dev/ui-references/project.json +++ b/nx-dev/ui-references/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": [], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/ui-references/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {} } } diff --git a/nx-dev/ui-sponsor-card/project.json b/nx-dev/ui-sponsor-card/project.json index 657ef374a8258..a962fd0715587 100644 --- a/nx-dev/ui-sponsor-card/project.json +++ b/nx-dev/ui-sponsor-card/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": ["scope:nx-dev", "type:ui"], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["nx-dev/ui-sponsor-card/**/*.{ts,tsx,js,jsx}"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} } } diff --git a/nx-dev/ui-theme/project.json b/nx-dev/ui-theme/project.json index 3cba5de52983e..712ede46c48ce 100644 --- a/nx-dev/ui-theme/project.json +++ b/nx-dev/ui-theme/project.json @@ -5,13 +5,7 @@ "projectType": "library", "tags": [], "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/ui-theme/**/*.{ts,tsx,js,jsx}"] - } - }, + "lint": {}, "test": {} } } diff --git a/nx.json b/nx.json index 11d13bc3e37d7..f96a999abeb3e 100644 --- a/nx.json +++ b/nx.json @@ -64,7 +64,20 @@ "default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/tools/eslint-rules/**/*" - ] + ], + "executor": "@nrwl/linter:eslint", + "options": { + "lintFilePatterns": [ + "{projectRoot}/**/*.{ts,tsx,js,jsx}", + "{projectRoot}/**/executors/**/schema.json", + "{projectRoot}/**/generators/**/schema.json", + "{projectRoot}/generators.json", + "{projectRoot}/executors.json", + "{projectRoot}/package.json", + "{projectRoot}/migrations.json" + ] + }, + "outputs": ["{options.outputFile}"] }, "e2e": { "inputs": [ diff --git a/packages/add-nx-to-monorepo/project.json b/packages/add-nx-to-monorepo/project.json index 422ea6f2cb5b8..397185d22d1ab 100644 --- a/packages/add-nx-to-monorepo/project.json +++ b/packages/add-nx-to-monorepo/project.json @@ -4,12 +4,7 @@ "sourceRoot": "packages/add-nx-to-monorepo/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["packages/add-nx-to-monorepo/**/*.ts"] - } - }, + "lint": {}, "test": {}, "build-base": { "executor": "@nrwl/js:tsc", diff --git a/packages/angular/project.json b/packages/angular/project.json index bc727e6daf228..00a64f882f753 100644 --- a/packages/angular/project.json +++ b/packages/angular/project.json @@ -69,27 +69,7 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/angular/**/*.ts", - "packages/angular/**/*.spec.ts", - "packages/angular/**/*_spec.ts", - "packages/angular/**/*.spec.tsx", - "packages/angular/**/*.spec.js", - "packages/angular/**/*.spec.jsx", - "packages/angular/**/*.d.ts", - "packages/angular/**/executors/**/schema.json", - "packages/angular/**/generators/**/schema.json", - "packages/angular/generators.json", - "packages/angular/executors.json", - "packages/angular/package.json", - "packages/angular/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "implicitDependencies": ["workspace", "cypress", "jest"] } diff --git a/packages/cli/project.json b/packages/cli/project.json index e67e10faa527c..b00f944093ff2 100644 --- a/packages/cli/project.json +++ b/packages/cli/project.json @@ -64,21 +64,7 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/cli/**/*.ts", - "packages/cli/**/*.spec.ts", - "packages/cli/**/*_spec.ts", - "packages/cli/**/*.spec.tsx", - "packages/cli/**/*.spec.js", - "packages/cli/**/*.spec.jsx", - "packages/cli/**/*.d.ts" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "implicitDependencies": ["workspace"] } diff --git a/packages/cra-to-nx/project.json b/packages/cra-to-nx/project.json index 70cac4ce1ca34..cf9d29d242465 100644 --- a/packages/cra-to-nx/project.json +++ b/packages/cra-to-nx/project.json @@ -4,12 +4,7 @@ "sourceRoot": "packages/cra-to-nx/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["packages/cra-to-nx/**/*.ts"] - } - }, + "lint": {}, "test": {}, "build-base": { "executor": "@nrwl/js:tsc", diff --git a/packages/create-nx-plugin/project.json b/packages/create-nx-plugin/project.json index e95d19102f681..ad699ca8f593b 100644 --- a/packages/create-nx-plugin/project.json +++ b/packages/create-nx-plugin/project.json @@ -67,21 +67,7 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/create-nx-plugin/**/*.ts", - "packages/create-nx-plugin/**/*.spec.ts", - "packages/create-nx-plugin/**/*_spec.ts", - "packages/create-nx-plugin/**/*.spec.tsx", - "packages/create-nx-plugin/**/*.spec.js", - "packages/create-nx-plugin/**/*.spec.jsx", - "packages/create-nx-plugin/**/*.d.ts" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "implicitDependencies": ["nx-plugin"] } diff --git a/packages/create-nx-workspace/project.json b/packages/create-nx-workspace/project.json index 73416578ea1f5..ada46c3afaede 100644 --- a/packages/create-nx-workspace/project.json +++ b/packages/create-nx-workspace/project.json @@ -67,21 +67,7 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/create-nx-workspace/**/*.ts", - "packages/create-nx-workspace/**/*.spec.ts", - "packages/create-nx-workspace/**/*_spec.ts", - "packages/create-nx-workspace/**/*.spec.tsx", - "packages/create-nx-workspace/**/*.spec.js", - "packages/create-nx-workspace/**/*.spec.jsx", - "packages/create-nx-workspace/**/*.d.ts" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "implicitDependencies": [ "workspace", diff --git a/packages/cypress/project.json b/packages/cypress/project.json index 783f94ca3fd66..99283e9f89773 100644 --- a/packages/cypress/project.json +++ b/packages/cypress/project.json @@ -56,25 +56,6 @@ "command": "node ./scripts/copy-readme.js cypress" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/cypress/**/*.ts", - "packages/cypress/**/*.spec.ts", - "packages/cypress/**/*.spec.tsx", - "packages/cypress/**/*.spec.js", - "packages/cypress/**/*.spec.jsx", - "packages/cypress/**/*.d.ts", - "packages/cypress/**/executors/**/schema.json", - "packages/cypress/**/generators/**/schema.json", - "packages/cypress/generators.json", - "packages/cypress/executors.json", - "packages/cypress/package.json", - "packages/cypress/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/detox/project.json b/packages/detox/project.json index d0043946c2e19..2d4baae3d1852 100644 --- a/packages/detox/project.json +++ b/packages/detox/project.json @@ -4,26 +4,7 @@ "sourceRoot": "packages/detox/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/detox/**/*.ts", - "packages/detox/**/*.spec.ts", - "packages/detox/**/*.spec.tsx", - "packages/detox/**/*.spec.js", - "packages/detox/**/*.spec.jsx", - "packages/detox/**/*.d.ts", - "packages/detox/**/executors/**/schema.json", - "packages/detox/**/generators/**/schema.json", - "packages/detox/generators.json", - "packages/detox/executors.json", - "packages/detox/package.json", - "packages/detox/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {}, "build-base": { "executor": "@nrwl/js:tsc", diff --git a/packages/devkit/project.json b/packages/devkit/project.json index 56b8d3195f294..ada23c5268614 100644 --- a/packages/devkit/project.json +++ b/packages/devkit/project.json @@ -56,22 +56,6 @@ "command": "node ./scripts/copy-readme.js devkit" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/devkit/**/*.ts", - "packages/devkit/**/*.spec.ts", - "packages/devkit/**/*.spec.tsx", - "packages/devkit/**/*.spec.js", - "packages/devkit/**/*.spec.jsx", - "packages/devkit/**/*.d.ts", - "packages/devkit/**/executors/**/schema.json", - "packages/devkit/**/generators/**/schema.json", - "packages/devkit/package.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/esbuild/project.json b/packages/esbuild/project.json index 0a58dcc2032b7..b4f0d843f5efb 100644 --- a/packages/esbuild/project.json +++ b/packages/esbuild/project.json @@ -56,26 +56,6 @@ "command": "node ./scripts/copy-readme.js esbuild" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/esbuild/**/*.ts", - "packages/esbuild/**/*.spec.ts", - "packages/esbuild/**/*_spec.ts", - "packages/esbuild/**/*.spec.tsx", - "packages/esbuild/**/*.spec.js", - "packages/esbuild/**/*.spec.jsx", - "packages/esbuild/**/*.d.ts", - "packages/esbuild/**/executors/**/schema.json", - "packages/esbuild/**/generators/**/schema.json", - "packages/esbuild/generators.json", - "packages/esbuild/executors.json", - "packages/esbuild/package.json", - "packages/esbuild/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/eslint-plugin-nx/project.json b/packages/eslint-plugin-nx/project.json index 54c84ac661ece..ab775435366e7 100644 --- a/packages/eslint-plugin-nx/project.json +++ b/packages/eslint-plugin-nx/project.json @@ -56,20 +56,6 @@ "command": "node ./scripts/copy-readme.js eslint-plugin-nx" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/eslint-plugin-nx/**/*.ts", - "packages/eslint-plugin-nx/**/*.spec.ts", - "packages/eslint-plugin-nx/**/*_spec.ts", - "packages/eslint-plugin-nx/**/*.spec.tsx", - "packages/eslint-plugin-nx/**/*.spec.js", - "packages/eslint-plugin-nx/**/*.spec.jsx", - "packages/eslint-plugin-nx/**/*.d.ts" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/expo/project.json b/packages/expo/project.json index 45f2b7842e4d0..2791e9fb33b7a 100644 --- a/packages/expo/project.json +++ b/packages/expo/project.json @@ -4,20 +4,7 @@ "sourceRoot": "packages/expo/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/expo/**/*.ts", - "packages/expo/**/*.spec.ts", - "packages/expo/**/*.spec.tsx", - "packages/expo/**/*.spec.js", - "packages/expo/**/*.spec.jsx", - "packages/expo/**/*.d.ts" - ] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {}, "build-base": { "executor": "@nrwl/js:tsc", diff --git a/packages/express/project.json b/packages/express/project.json index 875371aba1243..70e145f6915a1 100644 --- a/packages/express/project.json +++ b/packages/express/project.json @@ -56,26 +56,7 @@ "command": "node ./scripts/copy-readme.js express" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/express/**/*.ts", - "packages/express/**/*.spec.ts", - "packages/express/**/*_spec.ts", - "packages/express/**/*.spec.tsx", - "packages/express/**/*.spec.js", - "packages/express/**/*.spec.jsx", - "packages/express/**/*.d.ts", - "packages/express/**/executors/**/schema.json", - "packages/express/**/generators/**/schema.json", - "packages/express/generators.json", - "packages/express/package.json", - "packages/express/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "implicitDependencies": ["node"] } diff --git a/packages/jest/project.json b/packages/jest/project.json index 8f51f9fb06548..b36b5d28b9876 100644 --- a/packages/jest/project.json +++ b/packages/jest/project.json @@ -56,25 +56,6 @@ "command": "node ./scripts/copy-readme.js jest" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/jest/**/*.ts", - "packages/jest/**/*.spec.ts", - "packages/jest/**/*.spec.tsx", - "packages/jest/**/*.spec.js", - "packages/jest/**/*.spec.jsx", - "packages/jest/**/*.d.ts", - "packages/jest/**/executors/**/schema.json", - "packages/jest/**/generators/**/schema.json", - "packages/jest/generators.json", - "packages/jest/executors.json", - "packages/jest/package.json", - "packages/jest/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/js/project.json b/packages/js/project.json index 2350e439cbdd0..022ad52e54d0a 100644 --- a/packages/js/project.json +++ b/packages/js/project.json @@ -4,21 +4,7 @@ "sourceRoot": "packages/js/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": [ - "packages/js/**/*.ts", - "packages/js/**/executors/**/schema.json", - "packages/js/**/generators/**/schema.json", - "packages/js/generators.json", - "packages/js/executors.json", - "packages/js/package.json", - "packages/js/migrations.json" - ] - } - }, + "lint": {}, "test": {}, "build-base": { "executor": "@nrwl/js:tsc", diff --git a/packages/linter/project.json b/packages/linter/project.json index 14badb7cc86f3..c90d15953a5bc 100644 --- a/packages/linter/project.json +++ b/packages/linter/project.json @@ -56,27 +56,7 @@ "command": "node ./scripts/copy-readme.js linter" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/linter/**/*.ts", - "packages/linter/**/*.spec.ts", - "packages/linter/**/*_spec.ts", - "packages/linter/**/*.spec.tsx", - "packages/linter/**/*.spec.js", - "packages/linter/**/*.spec.jsx", - "packages/linter/**/*.d.ts", - "packages/linter/**/executors/**/schema.json", - "packages/linter/**/generators/**/schema.json", - "packages/linter/generators.json", - "packages/linter/executors.json", - "packages/linter/package.json", - "packages/linter/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "implicitDependencies": ["eslint-plugin-nx"] } diff --git a/packages/nest/project.json b/packages/nest/project.json index a89c82dc143ad..660f5280db966 100644 --- a/packages/nest/project.json +++ b/packages/nest/project.json @@ -56,26 +56,7 @@ "command": "node ./scripts/copy-readme.js nest" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/nest/**/*.ts", - "packages/nest/**/*.spec.ts", - "packages/nest/**/*_spec.ts", - "packages/nest/**/*.spec.tsx", - "packages/nest/**/*.spec.js", - "packages/nest/**/*.spec.jsx", - "packages/nest/**/*.d.ts", - "packages/nest/**/executors/**/schema.json", - "packages/nest/**/generators/**/schema.json", - "packages/nest/generators.json", - "packages/nest/package.json", - "packages/nest/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} }, "implicitDependencies": ["node", "linter"] } diff --git a/packages/next/project.json b/packages/next/project.json index 62b3e12781067..4449fd4b1c77b 100644 --- a/packages/next/project.json +++ b/packages/next/project.json @@ -61,26 +61,6 @@ "command": "node ./scripts/copy-readme.js next" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/next/**/*.ts", - "packages/next/**/*.spec.ts", - "packages/next/**/*_spec.ts", - "packages/next/**/*.spec.tsx", - "packages/next/**/*.spec.js", - "packages/next/**/*.spec.jsx", - "packages/next/**/*.d.ts", - "packages/next/**/executors/**/schema.json", - "packages/next/**/generators/**/schema.json", - "packages/next/generators.json", - "packages/next/executors.json", - "packages/next/package.json", - "packages/next/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/node/project.json b/packages/node/project.json index 6ef95cbefe433..982968de23b4a 100644 --- a/packages/node/project.json +++ b/packages/node/project.json @@ -56,26 +56,6 @@ "command": "node ./scripts/copy-readme.js node" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/node/**/*.ts", - "packages/node/**/*.spec.ts", - "packages/node/**/*_spec.ts", - "packages/node/**/*.spec.tsx", - "packages/node/**/*.spec.js", - "packages/node/**/*.spec.jsx", - "packages/node/**/*.d.ts", - "packages/node/**/executors/**/schema.json", - "packages/node/**/generators/**/schema.json", - "packages/node/generators.json", - "packages/node/executors.json", - "packages/node/package.json", - "packages/node/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/nx-plugin/project.json b/packages/nx-plugin/project.json index b284494686b03..aeaf8d1fae831 100644 --- a/packages/nx-plugin/project.json +++ b/packages/nx-plugin/project.json @@ -56,26 +56,6 @@ "command": "node ./scripts/copy-readme.js nx-plugin" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/nx-plugin/**/*.ts", - "packages/nx-plugin/**/*.spec.ts", - "packages/nx-plugin/**/*_spec.ts", - "packages/nx-plugin/**/*.spec.tsx", - "packages/nx-plugin/**/*.spec.js", - "packages/nx-plugin/**/*.spec.jsx", - "packages/nx-plugin/**/*.d.ts", - "packages/nx-plugin/**/executors/**/schema.json", - "packages/nx-plugin/**/generators/**/schema.json", - "packages/nx-plugin/generators.json", - "packages/nx-plugin/executors.json", - "packages/nx-plugin/package.json", - "packages/nx-plugin/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/nx/project.json b/packages/nx/project.json index 559fa5675ee0c..5a88ed2807a2c 100644 --- a/packages/nx/project.json +++ b/packages/nx/project.json @@ -80,24 +80,7 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/nx/**/*.ts", - "packages/nx/**/*.spec.ts", - "packages/nx/**/*_spec.ts", - "packages/nx/**/*.spec.tsx", - "packages/nx/**/*.spec.js", - "packages/nx/**/*.spec.jsx", - "packages/nx/**/*.d.ts", - "packages/nx/executors.json", - "packages/nx/package.json", - "packages/nx/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} } } diff --git a/packages/react-native/project.json b/packages/react-native/project.json index ca5afcd06df6e..f2effd8b795d5 100644 --- a/packages/react-native/project.json +++ b/packages/react-native/project.json @@ -4,26 +4,7 @@ "sourceRoot": "packages/react-native/src", "projectType": "library", "targets": { - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/react-native/**/*.ts", - "packages/react-native/**/*.spec.ts", - "packages/react-native/**/*.spec.tsx", - "packages/react-native/**/*.spec.js", - "packages/react-native/**/*.spec.jsx", - "packages/react-native/**/*.d.ts", - "packages/react-native/**/executors/**/schema.json", - "packages/react-native/**/generators/**/schema.json", - "packages/react-native/generators.json", - "packages/react-native/executors.json", - "packages/react-native/package.json", - "packages/react-native/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {}, "build-base": { "executor": "@nrwl/js:tsc", diff --git a/packages/react/project.json b/packages/react/project.json index b97595e208418..c272afe181373 100644 --- a/packages/react/project.json +++ b/packages/react/project.json @@ -66,26 +66,6 @@ "command": "node ./scripts/copy-readme.js react" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/react/**/*.ts", - "packages/react/**/*.spec.ts", - "packages/react/**/*_spec.ts", - "packages/react/**/*.spec.tsx", - "packages/react/**/*.spec.js", - "packages/react/**/*.spec.jsx", - "packages/react/**/*.d.ts", - "packages/react/**/executors/**/schema.json", - "packages/react/**/generators/**/schema.json", - "packages/react/generators.json", - "packages/react/executors.json", - "packages/react/package.json", - "packages/react/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/rollup/project.json b/packages/rollup/project.json index 636b0fe6ce6eb..870c632bdd211 100644 --- a/packages/rollup/project.json +++ b/packages/rollup/project.json @@ -56,26 +56,6 @@ "command": "node ./scripts/copy-readme.js rollup" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/rollup/**/*.ts", - "packages/rollup/**/*.spec.ts", - "packages/rollup/**/*_spec.ts", - "packages/rollup/**/*.spec.tsx", - "packages/rollup/**/*.spec.js", - "packages/rollup/**/*.spec.jsx", - "packages/rollup/**/*.d.ts", - "packages/rollup/**/executors/**/schema.json", - "packages/rollup/**/generators/**/schema.json", - "packages/rollup/generators.json", - "packages/rollup/executors.json", - "packages/rollup/package.json", - "packages/rollup/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/storybook/project.json b/packages/storybook/project.json index adce1900eecc6..459d2ea4e6c26 100644 --- a/packages/storybook/project.json +++ b/packages/storybook/project.json @@ -81,26 +81,6 @@ "command": "node ./scripts/copy-readme.js storybook" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/storybook/**/*.ts", - "packages/storybook/**/*.spec.ts", - "packages/storybook/**/*_spec.ts", - "packages/storybook/**/*.spec.tsx", - "packages/storybook/**/*.spec.js", - "packages/storybook/**/*.spec.jsx", - "packages/storybook/**/*.d.ts", - "packages/storybook/**/executors/**/schema.json", - "packages/storybook/**/generators/**/schema.json", - "packages/storybook/generators.json", - "packages/storybook/executors.json", - "packages/storybook/package.json", - "packages/storybook/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/tao/project.json b/packages/tao/project.json index d830cc27671f6..165cbec577c79 100644 --- a/packages/tao/project.json +++ b/packages/tao/project.json @@ -64,19 +64,6 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/tao/**/*.ts", - "packages/tao/**/*.spec.ts", - "packages/tao/**/*.spec.tsx", - "packages/tao/**/*.spec.js", - "packages/tao/**/*.spec.jsx", - "packages/tao/**/*.d.ts" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/vite/project.json b/packages/vite/project.json index 0b29e92430cfd..69758836009f1 100644 --- a/packages/vite/project.json +++ b/packages/vite/project.json @@ -56,26 +56,6 @@ "command": "node ./scripts/copy-readme.js vite" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/vite/**/*.ts", - "packages/vite/**/*.spec.ts", - "packages/vite/**/*_spec.ts", - "packages/vite/**/*.spec.tsx", - "packages/vite/**/*.spec.js", - "packages/vite/**/*.spec.jsx", - "packages/vite/**/*.d.ts", - "packages/vite/**/executors/**/schema.json", - "packages/vite/**/generators/**/schema.json", - "packages/vite/generators.json", - "packages/vite/executors.json", - "packages/vite/package.json", - "packages/vite/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/web/project.json b/packages/web/project.json index 516a06abeacbd..893663e30914d 100644 --- a/packages/web/project.json +++ b/packages/web/project.json @@ -61,26 +61,6 @@ "command": "node ./scripts/copy-readme.js web" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/web/**/*.ts", - "packages/web/**/*.spec.ts", - "packages/web/**/*_spec.ts", - "packages/web/**/*.spec.tsx", - "packages/web/**/*.spec.js", - "packages/web/**/*.spec.jsx", - "packages/web/**/*.d.ts", - "packages/web/**/executors/**/schema.json", - "packages/web/**/generators/**/schema.json", - "packages/web/generators.json", - "packages/web/executors.json", - "packages/web/package.json", - "packages/web/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/webpack/project.json b/packages/webpack/project.json index 471a82de6cb35..224d0c14c1633 100644 --- a/packages/webpack/project.json +++ b/packages/webpack/project.json @@ -56,26 +56,6 @@ "command": "node ./scripts/copy-readme.js webpack" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/webpack/**/*.ts", - "packages/webpack/**/*.spec.ts", - "packages/webpack/**/*_spec.ts", - "packages/webpack/**/*.spec.tsx", - "packages/webpack/**/*.spec.js", - "packages/webpack/**/*.spec.jsx", - "packages/webpack/**/*.d.ts", - "packages/webpack/**/executors/**/schema.json", - "packages/webpack/**/generators/**/schema.json", - "packages/webpack/generators.json", - "packages/webpack/executors.json", - "packages/webpack/package.json", - "packages/webpack/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/packages/workspace/project.json b/packages/workspace/project.json index 90c5d2a86223c..6d05e9936a3ec 100644 --- a/packages/workspace/project.json +++ b/packages/workspace/project.json @@ -109,25 +109,6 @@ "parallel": false } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": [ - "packages/workspace/**/*.ts", - "packages/workspace/**/*.spec.ts", - "packages/workspace/**/*.spec.tsx", - "packages/workspace/**/*.spec.js", - "packages/workspace/**/*.spec.jsx", - "packages/workspace/**/*.d.ts", - "packages/workspace/**/executors/**/schema.json", - "packages/workspace/**/generators/**/schema.json", - "packages/workspace/generators.json", - "packages/workspace/executors.json", - "packages/workspace/package.json", - "packages/workspace/migrations.json" - ] - }, - "outputs": ["{options.outputFile}"] - } + "lint": {} } } diff --git a/typedoc-theme/project.json b/typedoc-theme/project.json index 75fd49a437f7a..d8838d0ab9732 100644 --- a/typedoc-theme/project.json +++ b/typedoc-theme/project.json @@ -21,13 +21,7 @@ "command": "echo 'Building TypeDoc custom theme'" } }, - "lint": { - "executor": "@nrwl/linter:eslint", - "options": { - "lintFilePatterns": ["typedoc-theme/**/*.ts"] - }, - "outputs": ["{options.outputFile}"] - }, + "lint": {}, "test": {} }, "tags": []