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",