Skip to content

Codify control-first linting and exception handling standard #106

Description

Summary

Define an organization-wide coding standard that treats linters and static/security checks as control gates, not optional guidance.

Proposed standard

  1. Assume configured lint/security controls are correct by default.
  2. Align implementation with controls first.
  3. If a rule appears too strict or mismatched, do not silently bypass, disable, or tune it down in passing.
  4. Any suppression/bypass must be explicit, minimal, and documented with rationale in code and PR.
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions