Skip to content

Commit

Permalink
fix(ci): fix lint targets
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolongol committed Aug 13, 2024
1 parent 562f80f commit 19239cb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions apps/marcolongo.cloud-api-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"projectType": "application",
"implicitDependencies": ["marcolongo.cloud-api"],
"targets": {
"lint": {
"executor": "@nx/eslint:lint"
},
"e2e": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{e2eProjectRoot}"],
Expand Down
3 changes: 3 additions & 0 deletions apps/marcolongo.cloud-api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@
}
}
},
"lint": {
"executor": "@nx/eslint:lint"
},
"helm": {
"executor": "@nx-extensions/helm:package",
"outputs": ["{options.outputFolder}"],
Expand Down
7 changes: 6 additions & 1 deletion apps/marcolongo.cloud-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
"projectType": "application",
"sourceRoot": "apps/marcolongo.cloud-e2e/src",
"tags": [],
"implicitDependencies": ["marcolongo.cloud"]
"implicitDependencies": ["marcolongo.cloud"],
"targets": {
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint"
"targetName": "eslint:lint"
}
},
{
Expand Down

0 comments on commit 19239cb

Please sign in to comment.