Adds the `conformance/pii-declaration-must-be-complete` ESLint rule at
warn severity. The rule detects `custom: { pii: { ... } }` blocks in
Payload config files and warns when any of the four required sub-fields
(`category`, `purpose`, `exportable`, `restrictable`) is missing.
Incomplete PII declarations can produce incorrect audit reports —
sub-second editor feedback catches the gap before it reaches
compliance/data-map.yml.
- Rule + 7 RuleTester fixtures (complete passes, each missing field
warns, non-pii custom block is no-op, malformed custom.pii is no-op)
- Registered in plugin.js + base.js at "warn"
- Conformance rule count bumped 7 → 8 in CLAUDE.md +
conformance-quickref.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
119 lines
2.2 KiB
JSON
119 lines
2.2 KiB
JSON
{
|
|
"generatedAt": "2026-05-18T18:33:27.459Z",
|
|
"commit": "fa1a10c",
|
|
"repo": {
|
|
"statements": 96.34,
|
|
"branches": 91.41,
|
|
"functions": 96.76,
|
|
"lines": 96.34,
|
|
"counts": {
|
|
"lf": 4100,
|
|
"lh": 3950,
|
|
"brf": 768,
|
|
"brh": 702,
|
|
"fnf": 247,
|
|
"fnh": 239
|
|
}
|
|
},
|
|
"byPackage": {
|
|
"@repo/auth": {
|
|
"statements": 93.81,
|
|
"branches": 90.82,
|
|
"functions": 100,
|
|
"lines": 93.81,
|
|
"counts": {
|
|
"lf": 791,
|
|
"lh": 742,
|
|
"brf": 98,
|
|
"brh": 89,
|
|
"fnf": 44,
|
|
"fnh": 44
|
|
}
|
|
},
|
|
"@repo/blog": {
|
|
"statements": 96.36,
|
|
"branches": 88.65,
|
|
"functions": 100,
|
|
"lines": 96.36,
|
|
"counts": {
|
|
"lf": 741,
|
|
"lh": 714,
|
|
"brf": 141,
|
|
"brh": 125,
|
|
"fnf": 29,
|
|
"fnh": 29
|
|
}
|
|
},
|
|
"@repo/core-analytics": {
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"counts": {
|
|
"lf": 52,
|
|
"lh": 52,
|
|
"brf": 12,
|
|
"brh": 12,
|
|
"fnf": 10,
|
|
"fnh": 10
|
|
}
|
|
},
|
|
"@repo/core-shared": {
|
|
"statements": 97.75,
|
|
"branches": 95.54,
|
|
"functions": 91.58,
|
|
"lines": 97.75,
|
|
"counts": {
|
|
"lf": 935,
|
|
"lh": 914,
|
|
"brf": 269,
|
|
"brh": 257,
|
|
"fnf": 95,
|
|
"fnh": 87
|
|
}
|
|
},
|
|
"@repo/marketing-pages": {
|
|
"statements": 95.64,
|
|
"branches": 83.93,
|
|
"functions": 100,
|
|
"lines": 95.64,
|
|
"counts": {
|
|
"lf": 711,
|
|
"lh": 680,
|
|
"brf": 112,
|
|
"brh": 94,
|
|
"fnf": 32,
|
|
"fnh": 32
|
|
}
|
|
},
|
|
"@repo/media": {
|
|
"statements": 97.15,
|
|
"branches": 90.63,
|
|
"functions": 100,
|
|
"lines": 97.15,
|
|
"counts": {
|
|
"lf": 561,
|
|
"lh": 545,
|
|
"brf": 96,
|
|
"brh": 87,
|
|
"fnf": 24,
|
|
"fnh": 24
|
|
}
|
|
},
|
|
"@repo/navigation": {
|
|
"statements": 98.06,
|
|
"branches": 95,
|
|
"functions": 100,
|
|
"lines": 98.06,
|
|
"counts": {
|
|
"lf": 309,
|
|
"lh": 303,
|
|
"brf": 40,
|
|
"brh": 38,
|
|
"fnf": 13,
|
|
"fnh": 13
|
|
}
|
|
}
|
|
}
|
|
}
|