-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
512 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Change Log | ||
|
||
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.0 - 2016-12-19 | ||
|
||
### Added | ||
|
||
- **multi-glob**: The `src` property can now take an array of globs (Closes [#15](https://github.com/groupe-sii/sonar-web-frontend-reporters/issues/15)) [@ValentinGot] | ||
- **cli**: Add command line usage and version number [@ValentinGot] | ||
|
||
### Fixed | ||
|
||
- **es5**: The `.ES5.*` require method couldn't work, documentation has been updated accordingly [@ValentinGot] | ||
- **es5**: `arr.includes()` method isn't available on ES5 (Closes [#14](https://github.com/groupe-sii/sonar-web-frontend-reporters/issues/14)) [@ValentinGot] | ||
- **eslint**: use the `severity` property to retrieve the severity (Closes [#16](https://github.com/groupe-sii/sonar-web-frontend-reporters/issues/16)) [@ValentinGot] | ||
- **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.0.0 - 2016-12-09 | ||
|
||
- Release first stable version | ||
|
||
## 3.0.0-beta2 - 2016-12-07 | ||
|
||
- Add ES5 backward compatibility (Closes #13) | ||
|
||
## 3.0.0-beta - 2016-12-05 | ||
|
||
### Added | ||
|
||
- Full ES6 | ||
- Command-Line Interface | ||
- Usable in NodeJS | ||
- Refactored all reporters | ||
- Contribution guide | ||
|
||
### Removed | ||
|
||
- Gulp abstraction | ||
|
||
[@ole]: https://github.com/liollury | ||
[@ValentinGot]: https://github.com/ValentinGot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "sonar-web-frontend-reporters", | ||
"description": "This is a repo of SII continuous integration build system dedicated to Front-end webapps. This repo provides all the reporters written by SII for the generic [Sonarqube plugin](https://github.com/groupe-sii/sonar-web-client-plugin)", | ||
"version": "3.0.0", | ||
"description": "sreporter is a Command-Line Interface to generate Front-End linters reporters for the SonarQube plugin", | ||
"version": "3.1.0", | ||
"main": "./lib/api.js", | ||
"bin": { | ||
"sreporter": "./bin/sreporter" | ||
|
@@ -22,6 +22,8 @@ | |
"csslint", | ||
"htmlhint", | ||
"eslint", | ||
"angularjs", | ||
"tslint", | ||
"sonar" | ||
], | ||
"author": "Cédric Le Gallo <[email protected]> (http://www.groupe-sii.com/)", | ||
|
@@ -37,11 +39,13 @@ | |
"homepage": "https://github.com/groupe-sii/sonar-web-frontend-reporters#readme", | ||
"dependencies": { | ||
"chalk": "^1.1.3", | ||
"commander": "^2.9.0", | ||
"csslint": "^1.0.4", | ||
"eslint": "^3.11.1", | ||
"eslint-config-angular": "^0.5.0", | ||
"eslint-plugin-angular": "^1.4.1", | ||
"glob": "^7.1.1", | ||
"glob-all": "^3.1.0", | ||
"htmlhint": "^0.9.13", | ||
"jshint": "^2.9.4", | ||
"mkdirp": "^0.5.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
var bower = 'bower'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
var SonarWebReporters = require('../../build/reporters'); | ||
|
||
var sonarWebReporters = new SonarWebReporters('Sonar Web Reporters', { | ||
"csslint": false, | ||
"eslint": { | ||
"src": "samples/src/**/*.js", | ||
"report": "reports/sonar/eslint.json", | ||
"rulesFile": "./samples/.eslintrc" | ||
}, | ||
"eslintangular": { | ||
"src": "samples/src/**/*.js", | ||
"report": "reports/sonar/eslint-angular.json", | ||
"rulesFile": "./samples/.eslintangularrc" | ||
}, | ||
"jshint": { | ||
"src": "samples/src/**/*.js", | ||
"report": "reports/sonar/jshint.json", | ||
"rulesFile": "./samples/.jshintrc" | ||
}, | ||
"htmlhint": { | ||
"src": "samples/src/**/*.html", | ||
"report": "reports/sonar/htmlhint.json", | ||
"rulesFile": "./samples/.htmlhintrc" | ||
} | ||
}); | ||
sonarWebReporters.launchReporters(function () { | ||
console.log('All reporters have been processed'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.