About this project
Whitaker is a suite of Dylint lints for Rust that enforces coding standards. It includes nine standard lints: function_attrs_follow_docs (doc comments before attributes), bumpy_road_function (nested conditionals), no_expect_outside_tests (bans expect() outside tests), module_must_have_inner_docs (requires inner module docs), module_max_lines (400-line module cap by default), conditional_max_n_branches (limits conditional branches), test_must_not_have_example (test docs without examples), no_unwrap_or_else_panic (avoids hidden panics), and no_std_fs_operations (forbids std::fs in favor of cap_std). An experimental lint (rstest_helper_should_be_fixture) requires explicit opt-in.
Features include localized diagnostics (English, Welsh, Scottish Gaelic via DYLINT_LOCALE), configurable thresholds (e.g., module line limits), and modular design. Install by adding to Cargo.toml workspace metadata and run 'cargo dylint --all'. Releases provide SHA-256 checksums for verification. Documentation covers installation, configuration, and per-lint details.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.