1 2 3 4 5 6 7 8 9 10 11 12 13
//! rrubocop — fast RuboCop-compatible Ruby linter (tree-sitter). use std::process::ExitCode; fn main() -> ExitCode { match rrubocop::run() { Ok(code) => code, Err(e) => { eprintln!("error: {e:#}"); ExitCode::from(2) } } }