chore: update content
This commit is contained in:
parent
b90d656e24
commit
22244bd21a
@ -24,13 +24,14 @@ repos:
|
|||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
stages: [pre-push]
|
stages: [pre-push]
|
||||||
|
|
||||||
- id: rust-test
|
# NOTE: Disabled - cargo test blocks git push. Tests should run in CI/CD.
|
||||||
name: Rust tests
|
# - id: rust-test
|
||||||
entry: bash -c 'if [ -f platform/Cargo.toml ]; then cd platform && cargo test --workspace; fi'
|
# name: Rust tests
|
||||||
language: system
|
# entry: bash -c 'if [ -f platform/Cargo.toml ]; then cd platform && cargo test --workspace; fi'
|
||||||
types: [rust]
|
# language: system
|
||||||
pass_filenames: false
|
# types: [rust]
|
||||||
stages: [pre-push]
|
# pass_filenames: false
|
||||||
|
# stages: [pre-push]
|
||||||
|
|
||||||
# NOTE: cargo-deny config needs migration to latest version
|
# NOTE: cargo-deny config needs migration to latest version
|
||||||
# See: https://github.com/EmbarkStudios/cargo-deny/pull/611
|
# See: https://github.com/EmbarkStudios/cargo-deny/pull/611
|
||||||
@ -92,27 +93,8 @@ repos:
|
|||||||
# ============================================================================
|
# ============================================================================
|
||||||
# Markdown Hooks
|
# Markdown Hooks
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
- repo: local
|
# NOTE: Markdown linting moved to pre-commit phase (too slow for pre-push)
|
||||||
hooks:
|
# See provisioning/core/.pre-commit-config.yaml for active markdown validation
|
||||||
- id: markdownlint
|
|
||||||
name: Markdown linting (markdownlint-cli2)
|
|
||||||
entry: markdownlint-cli2 --config .markdownlint-cli2.jsonc docs/
|
|
||||||
language: system
|
|
||||||
types: [markdown]
|
|
||||||
pass_filenames: false
|
|
||||||
stages: [pre-push]
|
|
||||||
|
|
||||||
# NOTE: Malformed closing fences check disabled
|
|
||||||
# All 4,043 instances were fixed in 2025-01-09
|
|
||||||
# Markdownlint doesn't catch this natively (see config comments)
|
|
||||||
# Requires Python for proper state tracking, which is not desired
|
|
||||||
# - id: check-markdown-fences
|
|
||||||
# name: Check malformed code fences
|
|
||||||
# entry: .githooks/check-markdown-fences.sh
|
|
||||||
# language: system
|
|
||||||
# types: [markdown]
|
|
||||||
# pass_filenames: true
|
|
||||||
# stages: [commit]
|
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# General Pre-commit Hooks
|
# General Pre-commit Hooks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user