rrubocop 0.7.2

Fast RuboCop-compatible Ruby linter in Rust (tree-sitter). No Ruby for linting; ERB configs need ruby.
Documentation
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)
        }
    }
}