diff --git a/apps/api/project.json b/apps/api/project.json index 3a7ffd9e3..419876c6e 100644 --- a/apps/api/project.json +++ b/apps/api/project.json @@ -38,13 +38,6 @@ "lintFilePatterns": ["apps/api/**/*.ts"] } }, - "format": { - "executor": "nx:run-commands", - "options": { - "cwd": "apps/api", - "command": "prettier --check ." - } - }, "test": { "executor": "@nrwl/jest:jest", "outputs": ["coverage/apps/api"], @@ -56,10 +49,6 @@ { "target": "lint", "projects": "self" - }, - { - "target": "format", - "projects": "self" } ] } diff --git a/apps/cli/project.json b/apps/cli/project.json index e46015f86..3fe56d93d 100644 --- a/apps/cli/project.json +++ b/apps/cli/project.json @@ -19,25 +19,12 @@ } } }, - "lint": { + "test": { "executor": "@nrwl/linter:eslint", "outputs": ["{options.outputFile}"], "options": { "lintFilePatterns": ["apps/cli/**/*.ts"] } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "cwd": "apps/cli", - "command": "prettier --check ." - }, - "dependsOn": [ - { - "target": "lint", - "projects": "self" - } - ] } }, "tags": [] diff --git a/apps/view/project.json b/apps/view/project.json index 40122fd33..b2dec4130 100644 --- a/apps/view/project.json +++ b/apps/view/project.json @@ -64,25 +64,12 @@ } } }, - "lint": { + "test": { "executor": "@nrwl/linter:eslint", "outputs": ["{options.outputFile}"], "options": { "lintFilePatterns": ["apps/view/**/*.{ts,tsx,js,jsx}"] } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "cwd": "apps/view", - "command": "prettier --check ." - }, - "dependsOn": [ - { - "target": "lint", - "projects": "self" - } - ] } }, "tags": []