Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 17:11
· 243 commits to master since this release

New

  • rustocop --format json prints 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-exclusion and --server options 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 max in rustocop.toml, as Max in RuboCop: AbcSize, BlockLength, BlockNesting, ClassLength, CyclomaticComplexity, MethodLength, ModuleLength, ParameterLists and PerceivedComplexity. The Metrics cops are off by default, and a max for one of them switches it on.
  • rustocop --import-rubocop-config carries the Max of 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