包详细信息

@northbrook/eslint

northbrookjs12MIT2.0.1

Northbrook Plugin for ESlint

northbrook, plugin, eslint, standard

自述文件

Northbrook ESLint

Lint your projects with ESLint

Installation

npm install --save-dev @northbrook/eslint

northbrook.js

const eslint = require('@northbrook/eslint').plugin

module.exports = {
  plugins: [ eslint ]
}

API and configurations

northbrook eslint

Run ESLint on all of your source code files. Will look for a .eslintrc at the root of your northbrook project, but will fallback to using eslint-config-standard.

Options

Inside of your northbrook.js

{
  // all 100% optional
  eslint: {
    // default : ['src/']
    "directories": ["lib/**/*.js"], // paths to lint - supports globs
    // default: 'stylish'
    "formatter": "table" // allows you to specify
  }
}

更新日志

2.0.1 (2017-01-09)


Bug Fixes

  • fix(eslint): add a build system 8cc732a6

2.0.0 (2016-12-30)


Features

  • feat(eslint): update for northbrook v4 743b31ef

v1.2.1 (2016-09-04)


Bug Fixes

  • fix(eslint): update northbrook to version 3.1.0 (#14) a4983e78

v1.2.0 (2016-09-04)


Features

  • feat(eslint): update to latest nb and include postinstall script ee6ed4af

v1.1.1 (2016-08-25)


Bug Fixes

  • fix(eslint): add auto-deploy scripts 3b0a0f4f