generator-eslinter
Version:
Yeoman generator for .eslintrc file
34 lines (29 loc) • 1.32 kB
Markdown


`






# generator-eslinter
Generator-eslinter creates .eslintrc file with support for plugins and configs.
## Install
```
npm install --global generator-eslinter
```
## Usage
Example using eslint-config-airbrb
```
yo eslinter --configs=airbnb
```
## Extending generator
```
this.composeWith(require.resolve('generator-eslinter'), {
/* options */
});
```
## Options
- plugins (String, default '') list of plugins separated by , .
- configs (String, default '') list of plugins separated by , .