2.1.2 • Published 11 months ago

ember-template-lint-formatter-sonarqube v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

ember-template-lint-formatter-sonarqube

CI Build npm version License Dependabot Volta Managed Code Style: prettier

A custom formatter for ember-template-lint that will format the output in SonarQube's generic issue format.

Install

npm i ember-template-lint-formatter-sonarqube --save-dev

# or

yarn add ember-template-lint-formatter-sonarqube --dev

Output will be in 'Generic Issue Format'.

{
  "issues": [
    {
      "engineId": "ember-template-lint",
      "ruleId": "no-bare-strings",
      "severity": "MINOR",
      "type": "CODE_SMELL",
      "primaryLocation": {
        "message": "Non-translated string used",
        "filePath": "app/templates/application.hbs",
        "textRange": {
          "startLine": 1,
          "startColumn": 4,
          "endLine": 1,
          "endColumn": 14
        }
      }
    },
    {
      "engineId": "ember-template-lint",
      "ruleId": "no-bare-strings",
      "severity": "MINOR",
      "type": "CODE_SMELL",
      "primaryLocation": {
        "message": "Non-translated string used",
        "filePath": "app/templates/application.hbs",
        "textRange": {
          "startLine": 1,
          "startColumn": 25,
          "endLine": 1,
          "endColumn": 48
        }
      }
    }
  ]
}

Usage

ember-template-lint . --format ember-template-lint-formatter-sonarqube
2.1.2

11 months ago

2.1.1

1 year ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago