3.0.0 • Published 7 years ago

eslint-formatter-beauty v3.0.0

Weekly downloads
136
License
MIT
Repository
github
Last release
7 years ago

eslint-formatter-beauty

Beautiful ESLint formatter.

npm.io

build npm

Installation

Using Yarn:

yarn add --dev eslint-formatter-beauty

Using npm:

npm install --save-dev eslint-formatter-beauty

Usage

ESLint CLI:

eslint -f=beauty path/to/your/file.js

gulp-eslint

const gulp = require('gulp')
const eslint = require('gulp-eslint')

gulp.task('lint', () =>
  gulp.src('file.js')
    .pipe(eslint())
    .pipe(eslint.format(require('eslint-formatter-beauty')))
)

eslint-loader

module.exports = {
  // ... other options
  module: {
    rules: [
      // ... other options
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: 'eslint-loader',
        options: {
          formatter: require('eslint-formatter-beauty')
        }
      }
    ]
  }
}

Related Projects

License

MIT License

Copyright (c) 2018-present Pig Fang

3.0.0

7 years ago

3.0.0-beta.7

7 years ago

3.0.0-beta.5

7 years ago

3.0.0-beta.4

7 years ago

3.0.0-beta.3

7 years ago

3.0.0-beta.2

7 years ago

3.0.0-beta.1

7 years ago

3.0.0-beta.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago