Repository navigation
v1.2.0
New
rustocop --format jsonprints the report in the schema of RuboCop's--format json, so an editor plugin written for RuboCop (nvim-lint, ALE) runs rustocop when it is named as the executable. rustocop also accepts the--force-exclusionand--serveroptions that those plugins pass, and ignores them. Each offense location is the one character at its start: rustocop does not record where an offense ends.- Nine Metrics cops accept
maxinrustocop.toml, asMaxin RuboCop:AbcSize,BlockLength,BlockNesting,ClassLength,CyclomaticComplexity,MethodLength,ModuleLength,ParameterListsandPerceivedComplexity. The Metrics cops are off by default, and amaxfor one of them switches it on. rustocop --import-rubocop-configcarries theMaxof these cops over.
Binaries
Linux x86_64 and aarch64 (glibc 2.35 or newer), macOS Intel and Apple silicon. Each archive holds the rustocop executable.
Full Changelog: v1.1.0...v1.2.0