Commit ed632e5
Justify auto-attach policy namespaces for the conventions lint
Main's iOS package-conventions lint now flags all-static public types
(both caseless namespace enums and static-only structs) repo-wide.
MobileAutoAttachFlag, MobileAttachRoutePriority, and
MobileAutoAttachTargetSelector are pure, stateless policy namespaces:
deterministic transforms over values passed per call, no I/O and no
injected dependencies, so there is nothing to instantiate. Carry the
sanctioned inline lint:allow justification rather than forcing an
artificial instance type onto pure functions.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f730d29 commit ed632e5
3 files changed
Lines changed: 12 additions & 0 deletions
File tree
- Packages/CmuxMobileShellModel/Sources/CmuxMobileShellModel
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments