From 4c2364864a8a1e0f66d95bb7e338f381075d9ce0 Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Fri, 20 Jan 2023 11:16:40 -0500 Subject: [PATCH] chore(repo): rename root lint target from "lint" to "root-lint" (#14516) --- .circleci/config.yml | 3 +-- package.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b699e36cdfdb..d3b769e9b1bf8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -191,8 +191,7 @@ jobs: npx nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD & pids+=($!) - (npx nx lint --no-dte && - npx nx run-many -t check-imports check-commit check-lock-files depcheck documentation --parallel=1 --no-dte) & + npx nx run-many -t root-lint check-imports check-commit check-lock-files depcheck documentation --parallel=1 --no-dte & pids+=($!) yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 & diff --git a/package.json b/package.json index d9bb866728b09..a387a7344f79f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "submit-plugin": "node ./scripts/submit-plugin.js", "prepare": "is-ci || husky install", "echo": "echo 123458", - "lint": "nx workspace-lint" + "root-lint": "nx workspace-lint" }, "devDependencies": { "@angular-devkit/architect": "~0.1501.0", @@ -322,7 +322,7 @@ "check-lock-files", "depcheck", "documentation", - "lint" + "root-lint" ] } }