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 nx prepush --parallel 8 --tuiAutoExit 0
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

View File

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

View File

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