Add Rule.withIsFileIgnored, which tells you whether a file is being ignored or not.
This knowledge might be useful to skip unnecessary work (collecting data or reporting errors) related to an ignored file.
I hope that we can use this information later on to entirely skip files (in project rules) or specific visitors, but I haven't been able to find a good design for this yet. This might be a good start for some rules already.
Add
Rule.withIsFileIgnored
, which tells you whether a file is being ignored or not. This knowledge might be useful to skip unnecessary work (collecting data or reporting errors) related to an ignored file.I hope that we can use this information later on to entirely skip files (in project rules) or specific visitors, but I haven't been able to find a good design for this yet. This might be a good start for some rules already.