Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
llaumgui committed Sep 16, 2017
2 parents 986632e + 613f10b commit 34f6543
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
7 changes: 6 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
Gruntfile.coffee
.codeclimate.yml
.coffeelintrc
.editorconfig
.eslintrc.json
.travis.yml
Gruntfile.coffee
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
language: node_js
node_js:
- "node"
- "8"
- "7"
- "6"
- "5"
- "4"
- "0.12"
- "0.11"
- "0.10"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# lesshint-lint-xml-reporter
[![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)

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).
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/).

## Installation
Run the following command from the command line (add -g to install globally):
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lesshint-lint-xml-reporter",
"description": "A lesshint reporter compatible with csslint's xml-lint format. Can be used by Jenkins.",
"version": "0.9.1",
"description": "A lesshint's reporter using the same lint-xml format that CSSLint. Can be used by Jenkins.",
"version": "1.0.0",
"main": "./reporter.js",
"homepage": "https://github.com/llaumgui/lesshint-lint-xml-reporter",
"author": {
Expand All @@ -19,6 +19,9 @@
"lesshint",
"reporter"
],
"engines" : {
"node" : ">=4.0.0"
},
"dependencies": {
},
"devDependencies": {
Expand All @@ -30,7 +33,8 @@
"grunt-mdlint": "latest"
},
"scripts": {
"test": "grunt travis --verbose"
"test": "grunt travis --verbose",
"lint": "grunt lint --verbose"
},
"license": "MIT",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = {
if (resultsByfiles[result.file] === undefined) {
resultsByfiles[result.file] = '';
}
resultsByfiles[result.fullPath] += output + ' />\n';
resultsByfiles[result.file] += output + ' />\n';
});

Object.keys(resultsByfiles).forEach(function (file) {
Expand Down

0 comments on commit 34f6543

Please sign in to comment.