brunch/eslint-brunch

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

Homepage:

Size: 38

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

rts.plugins = {
lint: {
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 (docs) | | 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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.