Commit 050aa3a
committed
chore(deps): tighten dependabot policy — block majors + lock lint plugins
Adapted from common large-org practice for taming dependabot noise.
Two policy layers, applied to every npm ecosystem (root, packages/core,
packages/mantine, and the github-actions block):
1. Global semver-major block. Major bumps need hands-on evaluation —
breaking changes, peer-dep ripples, migration cost. They never
auto-PR; bump manually when time permits. (Already saw this with
@Mantine 9.x x4 + TypeScript 6.0 in last week's batch.)
2. Lint / typecheck plugin minor lock — applied to:
- eslint
- eslint-plugin-*
- @typescript-eslint/*
- typescript-eslint
- typescript
These tools routinely add new rules on minor bumps that flag
previously-passing code. ESLint's own SemVer policy explicitly says
"rule improvements → more errors → minor". Locking auto-PRs to patch
keeps CI green; we'll bump minors manually when ready to address new
violations.
The trigger was eslint-plugin-react-hooks 7.0.1 → 7.1.0 (April 2026),
which improved set-state-in-effect / ref-during-render detection and
made the compiler report all errors instead of stopping at the first.
20+ new diagnostics surfaced in our MarkdownContent block-memo code,
where render-time ref reads are by design for cache lookup.
Dependabot will re-generate the dev-deps batch shortly without
react-hooks 7.x minors. PR #12 closed as superseded by this policy.1 parent ea1aa2d commit 050aa3a
1 file changed
Lines changed: 77 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
2 | 17 | | |
3 | 18 | | |
4 | 19 | | |
| |||
11 | 26 | | |
12 | 27 | | |
13 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
14 | 48 | | |
15 | | - | |
16 | 49 | | |
17 | 50 | | |
18 | 51 | | |
| |||
31 | 64 | | |
32 | 65 | | |
33 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
34 | 86 | | |
35 | 87 | | |
36 | 88 | | |
| |||
50 | 102 | | |
51 | 103 | | |
52 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
53 | 124 | | |
54 | 125 | | |
55 | 126 | | |
56 | 127 | | |
57 | 128 | | |
58 | 129 | | |
59 | 130 | | |
60 | | - | |
| 131 | + | |
61 | 132 | | |
62 | 133 | | |
63 | 134 | | |
64 | 135 | | |
65 | 136 | | |
66 | 137 | | |
67 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
0 commit comments