chore(repo): enforce clippy (#31093)

This commit is contained in:
Jason Jean 2025-05-08 03:29:18 -04:00 committed by GitHub
parent 98d3354855
commit d8ad991ae7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 6 deletions

View File

@ -1,6 +1 @@
pnpm check-lock-files
pnpm pretty-quick --check
NX_TUI=false pnpm nx format-native nx
NX_TUI=false pnpm nx lint-native nx
pnpm check-commit
pnpm documentation
pnpm nx prepush --parallel 8 --tuiAutoExit 0

View File

@ -8,6 +8,7 @@
"commit": "czg",
"check-commit": "node ./scripts/commit-lint.js",
"check-format": "nx format:check --all",
"check-format:quick": "pretty-quick --check",
"check-imports": "node ./scripts/check-imports.js",
"check-lock-files": "node ./scripts/check-lock-files.js",
"check-documentation-map": "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/documentation/map-link-checker.ts",
@ -407,6 +408,7 @@
"echo",
"check-commit",
"check-format",
"check-format:quick",
"check-imports",
"check-lock-files",
"check-codeowners"

View File

@ -74,6 +74,9 @@
"{workspaceRoot}/docs/generated"
]
},
"check-format:quick": {
"parallelism": false
},
"lint": {
"dependsOn": ["@nx/nx-source:lint-pnpm-lock"],
"cache": true,
@ -82,6 +85,16 @@
"lint-pnpm-lock": {
"cache": true,
"inputs": ["{projectRoot}/pnpm-lock.yaml"]
},
"prepush": {
"dependsOn": [
"nx:format-native",
"nx:lint-native",
"documentation",
"check-commit",
"check-format:quick",
"check-lock-files"
]
}
}
}