Page MenuHomePhabricator

Add comments to .arclint json
Closed, DuplicatePublic

Description

My setup uses the pylint linter with specific severity overrides.
For example, we disabled the "protected access" rule with this (simplified) json bit in .arclint

linters {
  ...
  "pylint": {
    ...
    "severity": {
      "W0212": "disabled"
    }
  },
  ...
}

However, "W0212" isn't very descriptive and I'd like to add a comment describing what it means and why we chose to disable it. The json format doesn't support comments, so not sure of a supported way to do this.