Avoid generating diagnostics with per-file ignores #18801
ntBre
marked this pull request as ready for review 290 days ago
use Checker::enabled where possible
e372a2c5
defer to LintContext::enabled in Checker
6bbd70bf
store just a RuleTable, not the whole Settings
42f53155
prefer LintContext methods to accessing rules directly
fd774dad
construct LintContext's SourceFile internally
c3af9ce6
apply per-file ignores in LintContext
ffbab4b6
always clone RuleTable, restore const
697781b6
diagnostics -> context in check_path
534e2a66
update LintContext method names
4a8ecbed
update Checker method names too
a1d9b9ed
move empty ignores check to ignores_from_path
deb304e9
ntBre
force pushed
from
a0eddd81
to
deb304e9
290 days ago
restore (unused) LinterSettings on LintContext
0e7769fd
ntBre
merged
8cff77c8
into main 290 days ago
ntBre
deleted the brent/earlier-per-file-ignores branch 290 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub