All Projects → gucong3000 → gulp-reporter

gucong3000 / gulp-reporter

Licence: MIT license
Error report for: CSSLint/EditorConfig/ESLint/HTMLHint/JSCS/JSHint/PostCSS/Standard/TSLint/XO

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gulp-reporter

Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (+3300%)
Mutual labels:  gulp, postcss
Wordpressify
🎈 A build system designed to automate your WordPress development workflow.
Stars: ✭ 1,374 (+7982.35%)
Mutual labels:  gulp, postcss
Jekyll Boilerplate
Helpful files to get started working on a new Jekyll website
Stars: ✭ 30 (+76.47%)
Mutual labels:  gulp, postcss
generator-vintage-frontend
Modern front-end workflow
Stars: ✭ 15 (-11.76%)
Mutual labels:  gulp, jscs
Front End Tooling Recipes
Collection of pre-configured front-end tooling setups for common uses.
Stars: ✭ 176 (+935.29%)
Mutual labels:  gulp, postcss
postcss-font-grabber
A postcss plugin, it grabs remote font files and update your CSS, just like that.
Stars: ✭ 26 (+52.94%)
Mutual labels:  gulp, postcss
Postcss Modules Example
How to use postcss-modules plugin
Stars: ✭ 78 (+358.82%)
Mutual labels:  gulp, postcss
Generator Kittn
The Yeoman Kittn Generator
Stars: ✭ 63 (+270.59%)
Mutual labels:  gulp, postcss
Gopablo
🐺 Static site generator.
Stars: ✭ 166 (+876.47%)
Mutual labels:  gulp, postcss
Express Graphql Typescript Boilerplate
A starter kit for building amazing GraphQL API's with TypeScript and express by @w3tecch
Stars: ✭ 163 (+858.82%)
Mutual labels:  gulp, tslint
Carbon.Gulp
Carbon/Gulp is a delicious blend of tasks and build tools poured into Gulp to form a full-featured modern asset pipeline for Flow Framework and Neos CMS.
Stars: ✭ 15 (-11.76%)
Mutual labels:  gulp, postcss
starter-kit
🏃 A simple and powerful Starter Kit made with Webpack, Gulp 4, Pug and SASS
Stars: ✭ 21 (+23.53%)
Mutual labels:  gulp, postcss
gulp-boilerplate
Gulp boilerplate
Stars: ✭ 24 (+41.18%)
Mutual labels:  gulp, postcss
Gulp Tutorial
Code examples for my Gulp.js tutorial series
Stars: ✭ 383 (+2152.94%)
Mutual labels:  gulp, postcss
React Typescript Webpack2 Cssmodules Postcss
Simple Starter Template for React, TypeScript, postCSS, ITCSS, CSS-Modules, Webpack and Live Reloading (React Hot Loader 3)
Stars: ✭ 117 (+588.24%)
Mutual labels:  postcss, tslint
Fuzzymail
📨 Email template generator. Making emails fun again.
Stars: ✭ 114 (+570.59%)
Mutual labels:  gulp, postcss
Angular2 Express Mongoose Gulp Node Typescript
AngularJS 2 (Updated to 4.2.0) Mean Stack application which uses Angular2, Gulp, Express, Node, MongoDB (Mongoose) with Repository Pattern Business Layer
Stars: ✭ 201 (+1082.35%)
Mutual labels:  gulp, tslint
stencil-boilerplate
A Stencil app boilerplate including routing, Redux etc.
Stars: ✭ 51 (+200%)
Mutual labels:  postcss, tslint
wps-se
Software Engineering Basic for Web Developer
Stars: ✭ 59 (+247.06%)
Mutual labels:  gulp
lints
Lint all your JavaScript, CSS, HTML, Markdown and Dockerfiles with a single command
Stars: ✭ 14 (-17.65%)
Mutual labels:  jshint

gulp-reporter

NPM version Travis AppVeyor Codecov David

Error report for: CSSLint EditorConfig ESLint HTMLHint JSCS JSHint JSONLint PostCSS Standard StyLint TSLint XO

Analyzing blame of the error, only fail for errors that belong to current GIT user.

Install

npm install gulp-reporter

Usage

gulp.src('test/fixtures/eslint/invalid.js')
  .pipe(eslint())
  .pipe(reporter(options));

demo

API

reporter(options)

or

reporter((file) => options)

options.browser

Type: boolean

Default: false

Report error messages right in your browser.

options.output

Type: boolean|function|WritableStream

Default: true and false for Special output format

Report error messages in fancy-log or your function|WritableStream

options.sort

Type: boolean|function

Default: true

Messages will be sorted by fileName/severity/line/column, or your function.

options.author

Type: {name?: string|RegExp, email?: string|RegExp}

Default: Read from GIT pre-commit environment and fallbacks with GIT commad git log --max-count=1 --no-merges

Do not fail for errors that not belong to specified author.

Do not work when options.blame set to false

options.expires

Type: string for time periods, number of unix timestamp, Date

Do not fail for old errors that create early specified time.

Do not work when options.blame set to false

options.maxLineLength

Type: number

Default: 512

Hide each error in lines that length greater than this threshold.

options.mapper

Type: function|null

Default: null

Convert errors.

reporter({
  mapper: file => {
    const path = file.path;
    return error => {
      // Do not report unrelated errors.
      if (error.fileName === path) {
        return error
      }
    }
  }
})

options.fail

Type: boolean|function

Default: true

Stop a task/stream if an error has been reported for any file, but wait for all of them to be processed first.

options.blame

Type: boolean

Default: true

Enable or disable git-blame related features (options.author, options.expires).

Language localization support for HTMLHint JSHint EditorConfig:

  • en
  • zh_CN
  • zh_TW

POSIX systems: The returned locale refers to the LC_MESSAGE category, suitable for selecting the language used in the user interface for message translation.

Special output format

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].