You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Traditionally hex settings should use JSON integers, not JSON strings
4
+
5
+
For example, [`"classID": 1048577`][class-id] instead of `"classID": "0x100001"`.
6
+
The config JSON isn't enough of a UI to be worth jumping through string ↔ integer hoops to support an 0x… form ([source][integer-over-hex]).
7
+
8
+
## Constant names should keep redundant prefixes
9
+
10
+
For example, `CAP_KILL` instead of `KILL` in [**`linux.capabilities`**][capabilities]).
11
+
The redundancy reduction from removing the namespacing prefix is not useful enough to be worth trimming the upstream identifier ([source][keep-prefix]).
12
+
13
+
## Optional settings should have pointer Go types
14
+
15
+
So we have a consistent way to identify unset values ([source][optional-pointer]).
0 commit comments