I added an option --format and YamlFormatter.
It is a key factor using linter like debride that reusing linter log to import another libraries.
For make more useful debride I added YamlFormatter.
If you like it, merge this PR :)
usage of --format is looks like below.
debride [options] files_or_dirs
Specific options:
-h, --help Display this help.
-e, --exclude FILE1,FILE2,ETC Exclude files or directories in comma-separated list.
-w, --whitelist FILE Whitelist these messages.
--focus PATH Only report against this path
-r, --rails Add some rails call conversions.
-v, --verbose Verbose. Show progress processing files.
-f, --format Set formatter formatting log.
$ debride ./app/models -f yml
These methods MIGHT not be called:
Address:
- address_detail # ./app/models/address.rb:315-321
I added an option
--format
andYamlFormatter
. It is a key factor using linter likedebride
that reusing linter log to import another libraries. For make more usefuldebride
I addedYamlFormatter
.If you like it, merge this PR :)
usage of
--format
is looks like below.