--only
CLI flag appears to ignore excluded files within config
#396
Labels
--only
CLI flag appears to ignore excluded files within config
#396
In my
.ameba.yml
I have this file excluded for the CyclomaticComplexity rule.But when running ameba with the
--only
option./lib/ameba/bin/ameba --only Metrics/CyclomaticComplexity
It seems like Ameba still complains about the issue
Ameba is able to ignore the file fine when running without
--only
It makes sense for options like
--all
to ignore rules but I don't think the same applies for--only
. Is this behavior intended?The text was updated successfully, but these errors were encountered: