This package has been deprecated

Author message:

Deprecated

eslint-brunch

3.12.0 • Public • Published

eslint-brunch

Adds ESLint support to brunch.

Usage

Install the plugin via npm with npm install --save eslint-brunch.

Configuration settings can be set in any acceptable .eslintrc.* configuration file formats. If no configuration file can be found, this plugin will fallback to default ESLint options.

Options

config = {
  plugins: {
    eslint: {
      pattern: /^app\/.*\.js?$/,
      warnOnly: true,
      config: {rules: {'array-callback-return': 'warn'}}
    }
  }
}
Option Type Optional? Default Description
pattern RegExp Yes /^app\/.*\.js?$/ Pattern of filepaths to be processed (docs).
warnOnly Boolean Yes true Use warn logging level instead of error.
config Object Yes {} Options to pass to the ESLint engine (docs).

License

Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-brunch

Weekly Downloads

2,369

Version

3.12.0

License

none

Last publish

Collaborators

  • paulmillr
  • spyl