Commit 9a87f17
committed
fix: explicitly enable header linter (#31849)
In files that don't import `Mathlib.Init` but do import `Mathlib.Tactic.Linter.Header`, the linter didn't fire currently: the option is only enabled when we define `linter.mathlibStandardSet`. So in the Mathlib lakefile (but not for downstream projects) we should enable the linter explicitly.
Not sure how we should test this, since it is a lakefile option.
Spotted during review of #31820.
Co-authored-by: Anne C.A. Baanen <vierkantor@vierkantor.com>1 parent bf9761c commit 9a87f17
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments