brunch / Eslint Brunch
Licence: mit
Adds ESLint support to Brunch
Stars: ✭ 12
Programming Languages
javascript
184084 projects - #8 most used programming language
eslint-brunch
Adds ESLint support to Brunch.
Usage
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.
exports.plugins = {
eslint: {
config: {
rules: {semi: 'never'},
},
pattern: /^src\/.*\.jsx?$/,
warnOnly: false,
formatter: 'table',
},
};
Options
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 |
warnOnly |
Boolean |
Yes | true |
Use warn logging level instead of error
|
formatter |
String |
Yes | 'stylish' |
Built-in formatter to use (docs) |
License
Licensed under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].