Repository navigation
v1.1.0
New
rustocop --import-rubocop-configwrites arustocop.tomlfrom the.rubocop.ymlin the current directory and the local files it names ininherit_from. It carries overAllCops: Exclude, aTargetRubyVersionof 3.4 or 4.0,Enabledof a cop or department,Excludeof a cop, andMaxofLayout/LineLength, and lists every setting that it does not carry over.rustocop --write-baselinenow adds to an existingrustocop.toml, where it stopped with an error before. A cop that has a table there is changed in that table, any other cop gets a new table at the end, and the rest of the file stays as it is. Run it after the import to silence what rustocop still reports.
Fixed
rustocop | headno longer ends with a panic when the reader closes the pipe.
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.0.0...v1.1.0