chore(repo): enforce clippy (#31093)
This commit is contained in:
parent
98d3354855
commit
d8ad991ae7
@ -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
|
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
13
project.json
13
project.json
@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user