Package Exports
- eslint-bamboo-formatter
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-bamboo-formatter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-bamboo-formatter
A reporter for eslint which produces a report compatible with Atlassian Bamboo Mocha Test Parser.
Installation
npm install eslint-bamboo-formatter
Usage
With ESLint CLI:
eslint file.js -f node_modules/eslint-bamboo-formatter/reporter.js
With Gulp ESLint:
var eslint = require('gulp-eslint');
var reporter = require('eslint-bamboo-formatter');
gulp.src(['js/**/*.js'])
.pipe(eslint())
.pipe(eslint.format(reporter));
Output
By default, the reporter writes to eslint.json
. The file name can be changed by setting the ESLINT_FILE
environment variable.
Warnings are not reported by default. If you want to report warnings as errors, set the environment variable ESLINT_WARNING_AS_ERROR
.