CI. We do some computation based on props, index, etc at my work. stylecleanup sees that as an error, which would cause CI to fail, even though styles are technically used.
For 2, the biggest reason is when you have a lot of unused styles (100+), it can be a bit tedious going back & forth from terminal & code. Allowing a minimal option still shows you pertinent information (the name of the style & LOC) and helps you be a bit more efficient. But, it would be easy to just not supply a --minimal flag if you wanted to see full output
Would you accept PRs supporting the following?
// stylecleanup:ignore
) (I have this working locally)The current output is something like:
Reasons
For 1, there is one main reason:
stylecleanup
sees that as an error, which would cause CI to fail, even though styles are technically used.For 2, the biggest reason is when you have a lot of unused styles (100+), it can be a bit tedious going back & forth from terminal & code. Allowing a minimal option still shows you pertinent information (the name of the style & LOC) and helps you be a bit more efficient. But, it would be easy to just not supply a
--minimal
flag if you wanted to see full output