Releases: lxxxvi/ruboclean
Releases · lxxxvi/ruboclean
v0.6.0
v0.5.0
This releease introduces a new functionality where unused paths in Include:
and Exclude:
properties are removed.
Example input:
AllCops:
Exclude:
- path/file_exists.rb
- path_with_files/**/*
- path/file_does_not_exist.rb # Will be removed if the file doesn't exist. Skip with --preserve-paths option.
- path_without_files/**/* # Will be removed if no files within pattern exist. Skip with --preserve-paths option.
Example output:
---
AllCops:
Exclude:
- path/file_exists.rb
- path_with_files/**/*
This feature can be disabled using the --preserve-paths
CLI option flag.
v0.4.0
This release adds new flags to the ruboclean
command:
--silent
can be used to suppress any output displayed on the screen when executing the command.--preserve-comments
will preserve preceding comments for each top-level entry in the configuration. Inline comments are not preserved. This addresses #23