rrubocop 0.8.15

10x faster RuboCop drop-in. Same output format and configs, without maintaining RuboCop gems.
1
2
3
4
5
6
7
8
9
10
11
12
13
//! rrubocop — 10x faster RuboCop drop-in (same CLI, configs, and output).

use std::process::ExitCode;

fn main() -> ExitCode {
    match rrubocop::run() {
        Ok(code) => code,
        Err(e) => {
            eprintln!("error: {e:#}");
            ExitCode::from(2)
        }
    }
}