Summary
Define an organization-wide coding standard that treats linters and static/security checks as control gates, not optional guidance.
Proposed standard
- Assume configured lint/security controls are correct by default.
- Align implementation with controls first.
- If a rule appears too strict or mismatched, do not silently bypass, disable, or tune it down in passing.
- Any suppression/bypass must be explicit, minimal, and documented with rationale in code and PR.
- PRs should call out every intentional control exception in a dedicated section.
Why
This creates predictable engineering behavior across repos, reduces accidental policy drift, and makes risk acceptance explicit and reviewable.
Acceptance criteria
- Add this policy in MSXOrg/docs under coding/review standards.
- Provide a short PR template snippet for "Control exceptions" disclosure.
- Provide one concrete example of acceptable suppression and one unacceptable silent bypass.
Summary
Define an organization-wide coding standard that treats linters and static/security checks as control gates, not optional guidance.
Proposed standard
Why
This creates predictable engineering behavior across repos, reduces accidental policy drift, and makes risk acceptance explicit and reviewable.
Acceptance criteria