Skip to content

v0.5.0

Compare
Choose a tag to compare
@lxxxvi lxxxvi released this 11 Feb 17:00
· 48 commits to main since this release
a3f3003

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.