Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 659 Bytes

File metadata and controls

26 lines (18 loc) · 659 Bytes

Starfish Project Instructions

Pre-commit / Pre-push Checklist

Before committing (and especially before pushing), run the following checks that mirror CI:

# Formatting (must use nightly)
cargo +nightly fmt --check

# Dependency sorting
cargo sort --check --workspace

# Linting (must match CI: --no-deps, no --all-targets)
cargo clippy --all-features --no-deps -- -D warnings
cargo clippy --all-features --tests --no-deps -- -D warnings

# Spelling/typos
typos

# Build and doc check
cargo check --all-features
cargo doc --no-deps --all-features

If any check fails, fix the issue before committing. Do not use --no-verify or skip hooks.