+
Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Provide mapping for severities and default severity #51

@sk-

Description

@sk-

Some linters like pep8 or rubocop print the severity with a code or with just a letter.
For example pep8 has E123 and W456, whereas rubocop has C, W, E among others.

One alternative to normalize this would be to have something like this in the configuration file:

severities:
  - error: "E\\d+"
  - warning: "W\\d+"

Additionally, some linters do not provide a severity. In such cases it would be good to provide a default one.

default_severity: error

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载