chore: update content
This commit is contained in:
parent
b90d656e24
commit
22244bd21a
@ -24,13 +24,14 @@ repos:
|
||||
pass_filenames: false
|
||||
stages: [pre-push]
|
||||
|
||||
- id: rust-test
|
||||
name: Rust tests
|
||||
entry: bash -c 'if [ -f platform/Cargo.toml ]; then cd platform && cargo test --workspace; fi'
|
||||
language: system
|
||||
types: [rust]
|
||||
pass_filenames: false
|
||||
stages: [pre-push]
|
||||
# NOTE: Disabled - cargo test blocks git push. Tests should run in CI/CD.
|
||||
# - id: rust-test
|
||||
# name: Rust tests
|
||||
# entry: bash -c 'if [ -f platform/Cargo.toml ]; then cd platform && cargo test --workspace; fi'
|
||||
# language: system
|
||||
# types: [rust]
|
||||
# pass_filenames: false
|
||||
# stages: [pre-push]
|
||||
|
||||
# NOTE: cargo-deny config needs migration to latest version
|
||||
# See: https://github.com/EmbarkStudios/cargo-deny/pull/611
|
||||
@ -92,27 +93,8 @@ repos:
|
||||
# ============================================================================
|
||||
# Markdown Hooks
|
||||
# ============================================================================
|
||||
- repo: local
|
||||
hooks:
|
||||
- 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]
|
||||
# NOTE: Markdown linting moved to pre-commit phase (too slow for pre-push)
|
||||
# See provisioning/core/.pre-commit-config.yaml for active markdown validation
|
||||
|
||||
# ============================================================================
|
||||
# General Pre-commit Hooks
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user