Skip to content

Commit

Permalink
Merged release/3.1.1 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinGot committed Jan 11, 2017
2 parents f04e57f + e0122d8 commit 53bf310
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## 3.1.1 - 2017-01-11

### Fixed

- **es5**: for **eslint** & **eslint-angular**, use the `severity` property to retrieve the severity (Closes [#16](https://github.com/groupe-sii/sonar-web-frontend-reporters/issues/16)) [@ValentinGot]

## 3.1.0 - 2016-12-19

Expand Down
2 changes: 1 addition & 1 deletion build/reporters/eslint-angular.reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = function (_Reporter) {
for (var _iterator = result.results[0].messages[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var message = _step.value;

switch (message.type) {
switch (message.severity) {
case 2:
severity = this.MAJOR;
break;
Expand Down
2 changes: 1 addition & 1 deletion build/reporters/eslint.reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = function (_Reporter) {
for (var _iterator = result.results[0].messages[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var message = _step.value;

switch (message.type) {
switch (message.severity) {
case 2:
severity = this.MAJOR;
break;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sonar-web-frontend-reporters",
"description": "sreporter is a Command-Line Interface to generate Front-End linters reporters for the SonarQube plugin",
"version": "3.1.0",
"version": "3.1.1",
"main": "./lib/api.js",
"bin": {
"sreporter": "./bin/sreporter"
Expand Down

0 comments on commit 53bf310

Please sign in to comment.