node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »



Adds ESLint support to brunch.


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.


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).


Licensed under the MIT license.