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

Commit 34f6543

Browse files
committed
Merge branch 'develop'
2 parents 986632e + 613f10b commit 34f6543

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

.npmignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
Gruntfile.coffee
1+
.codeclimate.yml
2+
.coffeelintrc
3+
.editorconfig
4+
.eslintrc.json
5+
.travis.yml
6+
Gruntfile.coffee

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: node_js
22
node_js:
33
- "node"
4+
- "8"
5+
- "7"
46
- "6"
57
- "5"
68
- "4"
7-
- "0.12"
8-
- "0.11"
9-
- "0.10"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# lesshint-lint-xml-reporter
22
[![npm version](https://badge.fury.io/js/lesshint-lint-xml-reporter.svg)](https://www.npmjs.com/package/lesshint-lint-xml-reporter) [![Build Status](https://travis-ci.org/llaumgui/lesshint-lint-xml-reporter.svg?branch=master)](https://travis-ci.org/llaumgui/lesshint-lint-xml-reporter) [![Code Climate](https://codeclimate.com/github/llaumgui/lesshint-lint-xml-reporter/badges/gpa.svg)](https://codeclimate.com/github/llaumgui/lesshint-lint-xml-reporter) [![devDependency Status](https://david-dm.org/llaumgui/lesshint-lint-xml-reporter/dev-status.svg)](https://david-dm.org/llaumgui/lesshint-lint-xml-reporter#info=devDependencies)
33

4-
A [lesshint](https://github.com/lesshint/lesshint)'s [reporter](https://github.com/lesshint/lesshint/blob/master/lib/lesshint.js#reporters) using the same lint-xml format that [CSSLint](https://github.com/CSSLint/csslint).
4+
A [lesshint](https://github.com/lesshint/lesshint)'s [reporter](https://github.com/lesshint/lesshint/blob/master/lib/lesshint.js#reporters) using the same lint-xml format that [CSSLint](https://github.com/CSSLint/csslint). Can be used by [Jenkins](https://jenkins.io/).
55

66
## Installation
77
Run the following command from the command line (add -g to install globally):

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lesshint-lint-xml-reporter",
3-
"description": "A lesshint reporter compatible with csslint's xml-lint format. Can be used by Jenkins.",
4-
"version": "0.9.1",
3+
"description": "A lesshint's reporter using the same lint-xml format that CSSLint. Can be used by Jenkins.",
4+
"version": "1.0.0",
55
"main": "./reporter.js",
66
"homepage": "https://github.com/llaumgui/lesshint-lint-xml-reporter",
77
"author": {
@@ -19,6 +19,9 @@
1919
"lesshint",
2020
"reporter"
2121
],
22+
"engines" : {
23+
"node" : ">=4.0.0"
24+
},
2225
"dependencies": {
2326
},
2427
"devDependencies": {
@@ -30,7 +33,8 @@
3033
"grunt-mdlint": "latest"
3134
},
3235
"scripts": {
33-
"test": "grunt travis --verbose"
36+
"test": "grunt travis --verbose",
37+
"lint": "grunt lint --verbose"
3438
},
3539
"license": "MIT",
3640
"bugs": {

reporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
if (resultsByfiles[result.file] === undefined) {
3030
resultsByfiles[result.file] = '';
3131
}
32-
resultsByfiles[result.fullPath] += output + ' />\n';
32+
resultsByfiles[result.file] += output + ' />\n';
3333
});
3434

3535
Object.keys(resultsByfiles).forEach(function (file) {

0 commit comments

Comments
 (0)