Name: eslint-brunch
Owner: Brunch
Description: Adds ESLint support to Brunch
Created: 2015-07-13 10:23:05.0
Updated: 2018-02-06 19:25:30.0
Pushed: 2017-09-29 14:54:56.0
Size: 38
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Adds ESLint support to Brunch.
Install the plugin via npm with npm install --save-dev 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.
rts.plugins = {
lint: {
config: {
rules: {semi: 'never'},
},
pattern: /^src\/.*\.jsx?$/,
warnOnly: false,
formatter: 'table',
| Option | Type | Optional | Default | Description |
|————-|———–|:———:|———————|————————————————————————————————————-|
| config
| Object
| Yes | undefined
| Options to pass to the ESLint engine (docs) |
| pattern
| RegExp
| Yes | /^app\/.*\.jsx?$/
| Pattern of file paths to be processed (docs) |
| warnOnly
| Boolean
| Yes | true
| Use warn
logging level instead of error
|
| formatter
| String
| Yes | 'stylish'
| Built-in formatter to use (docs) |
Licensed under the MIT license.