From 6e7141b22c63168c98c6b827d0ed5cc2e98fc165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Jona=C5=A1?= Date: Fri, 24 Nov 2023 09:35:07 +0100 Subject: [PATCH] cleanup(repo): simplify lint pattern configuration (#20184) --- nx-dev/ui-primitives/project.json | 8 +------- nx.json | 11 +---------- packages/expo/collection.json | 0 .../build/lib/test-fixtures/ensure-exts/baz.json | 1 + tools/documentation/create-embeddings/project.json | 8 +------- 5 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 packages/expo/collection.json diff --git a/nx-dev/ui-primitives/project.json b/nx-dev/ui-primitives/project.json index 08b0de227b..fca4b9c33a 100644 --- a/nx-dev/ui-primitives/project.json +++ b/nx-dev/ui-primitives/project.json @@ -5,12 +5,6 @@ "projectType": "library", "tags": [], "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["nx-dev/ui-primitives/**/*.{ts,tsx,js,jsx}"] - } - } + "lint": {} } } diff --git a/nx.json b/nx.json index 9130283364..cbc1677dbd 100644 --- a/nx.json +++ b/nx.json @@ -102,16 +102,7 @@ ], "executor": "@nx/eslint:lint", "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}/project.json", - "{projectRoot}/migrations.json" - ] + "lintFilePatterns": ["{projectRoot}"] }, "outputs": ["{options.outputFile}"], "cache": true diff --git a/packages/expo/collection.json b/packages/expo/collection.json deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/next/src/executors/build/lib/test-fixtures/ensure-exts/baz.json b/packages/next/src/executors/build/lib/test-fixtures/ensure-exts/baz.json index e69de29bb2..0967ef424b 100644 --- a/packages/next/src/executors/build/lib/test-fixtures/ensure-exts/baz.json +++ b/packages/next/src/executors/build/lib/test-fixtures/ensure-exts/baz.json @@ -0,0 +1 @@ +{} diff --git a/tools/documentation/create-embeddings/project.json b/tools/documentation/create-embeddings/project.json index 05eeae3781..7b8335db70 100644 --- a/tools/documentation/create-embeddings/project.json +++ b/tools/documentation/create-embeddings/project.json @@ -52,13 +52,7 @@ } } }, - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["tools/documentation/create-embeddings/**/*.ts"] - } - }, + "lint": {}, "test": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],