ktrs-lint 0.4.0

Port of the ktlint 2.0 rule engine and standard rules over the ktrs mutable AST
Documentation
1
2
3
4
5
//! Rule exceptions are panics that the engine catches and reports as `KtLintRuleException`, as ktlint does with
//! Java exceptions; see `ktrs_syntax::caught_panic`.

pub(crate) use ktrs_syntax::caught_panic::catch_quietly as catch_rule_panic;
pub use ktrs_syntax::caught_panic::silence_caught_panics as silence_caught_rule_panics;