Skip to content

Commit

Permalink
fix: Revert lint config changes done by NX migration
Browse files Browse the repository at this point in the history
  • Loading branch information
emil-litwiniec committed May 13, 2024
1 parent cf2e7e0 commit 66d4b2b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
5 changes: 4 additions & 1 deletion packages/infra/infra-core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["packages/infra/infra-core/**/*.ts"]
}
}
},
"tags": []
Expand Down
5 changes: 4 additions & 1 deletion packages/infra/infra-functions/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
}
},
"lint": {
"executor": "@nx/eslint:lint"
"executor": "@nx/eslint:lint",
"options": {
"lintFilePatterns": ["packages/infra/infra-functions/**/*.ts"]
}
}
},
"tags": ["service"]
Expand Down
5 changes: 4 additions & 1 deletion packages/infra/infra-shared/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["packages/infra/infra-shared/**/*.ts"]
}
}
},
"tags": []
Expand Down
5 changes: 4 additions & 1 deletion packages/internal/docs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 6 additions & 1 deletion packages/internal/status-dashboard/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 66d4b2b

Please sign in to comment.