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.

Event Timeline

nipunn created this task.Jan 12 2016, 9:18 PM
chad added a project: Lint.Jan 12 2016, 9:25 PM