From 66d4b2b6067d9f1be5e20d100eebce06a6e1726d Mon Sep 17 00:00:00 2001 From: Emil Litwiniec Date: Mon, 13 May 2024 13:01:56 +0200 Subject: [PATCH] fix: Revert lint config changes done by NX migration --- packages/infra/infra-core/project.json | 5 ++++- packages/infra/infra-functions/project.json | 5 ++++- packages/infra/infra-shared/project.json | 5 ++++- packages/internal/docs/project.json | 5 ++++- packages/internal/status-dashboard/project.json | 7 ++++++- 5 files changed, 22 insertions(+), 5 deletions(-) diff --git a/packages/infra/infra-core/project.json b/packages/infra/infra-core/project.json index 417b2c4c1..276184fad 100644 --- a/packages/infra/infra-core/project.json +++ b/packages/infra/infra-core/project.json @@ -6,7 +6,10 @@ "targets": { "lint": { "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["packages/infra/infra-core/**/*.ts"] + } } }, "tags": [] diff --git a/packages/infra/infra-functions/project.json b/packages/infra/infra-functions/project.json index 8ab906198..cbde58c33 100644 --- a/packages/infra/infra-functions/project.json +++ b/packages/infra/infra-functions/project.json @@ -29,7 +29,10 @@ } }, "lint": { - "executor": "@nx/eslint:lint" + "executor": "@nx/eslint:lint", + "options": { + "lintFilePatterns": ["packages/infra/infra-functions/**/*.ts"] + } } }, "tags": ["service"] diff --git a/packages/infra/infra-shared/project.json b/packages/infra/infra-shared/project.json index edf1155df..6a769a5e9 100644 --- a/packages/infra/infra-shared/project.json +++ b/packages/infra/infra-shared/project.json @@ -101,7 +101,10 @@ }, "lint": { "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["packages/infra/infra-shared/**/*.ts"] + } } }, "tags": [] diff --git a/packages/internal/docs/project.json b/packages/internal/docs/project.json index f8dd36e4f..0e66787be 100644 --- a/packages/internal/docs/project.json +++ b/packages/internal/docs/project.json @@ -6,7 +6,10 @@ "targets": { "lint": { "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["packages/internal/docs/**/*.{js,jsx,ts,tsx}"] + } }, "build": { "executor": "nx:run-commands", diff --git a/packages/internal/status-dashboard/project.json b/packages/internal/status-dashboard/project.json index f20af2485..dd22d0384 100644 --- a/packages/internal/status-dashboard/project.json +++ b/packages/internal/status-dashboard/project.json @@ -61,7 +61,12 @@ }, "lint": { "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": [ + "packages/internal/status-dashboard/**/*.{ts,tsx,js,jsx}" + ] + } }, "deploy": { "executor": "nx:run-commands",