# fuse-box-eslint-plugin

> ESlint plugin for fuse-box

Latest version **0.0.3** (published 2017-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install fuse-box-eslint-plugin
pnpm add fuse-box-eslint-plugin
yarn add fuse-box-eslint-plugin
bun add fuse-box-eslint-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-02-14 |
| First published | 2017-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Douman |
| Maintainers | douman |

## Links

- npm: https://www.npmjs.com/package/fuse-box-eslint-plugin
- Repository: https://github.com/DoumanAsh/fuse-box-eslint-plugin
- Homepage: https://github.com/DoumanAsh/fuse-box-eslint-plugin#readme
- Issues: https://github.com/DoumanAsh/fuse-box-eslint-plugin/issues
- npm.io page: https://npm.io/package/fuse-box-eslint-plugin

## Dependencies (2)

- [eslint](https://npm.io/package/eslint.md) ^3.15.0
- [app-root-path](https://npm.io/package/app-root-path.md) *

## Recent versions

- 0.0.3 (latest) — 2017-02-14
- 0.0.2 — 2017-02-13
- 0.0.1 — 2017-02-13

## README

# fuse-box-eslint-plugin

[![Build Status](https://travis-ci.org/DoumanAsh/fuse-box-eslint-plugin.svg?branch=master)](https://travis-ci.org/DoumanAsh/fuse-box-eslint-plugin)
[![Package version](https://img.shields.io/npm/v/fuse-box-eslint-plugin.svg)](https://npmjs.org/package/fuse-box-eslint-plugin)
[![Coverage Status](https://coveralls.io/repos/github/DoumanAsh/fuse-box-eslint-plugin/badge.svg?branch=master)](https://coveralls.io/github/DoumanAsh/fuse-box-eslint-plugin?branch=master)

ESlint plugin for [fuse-box](https://github.com/fuse-box/fuse-box)

## Usage

```js
const fsbx = require('fuse-box');
const eslinter = require('fuse-box-eslint-plugin');

fsbx.FuseBox.init({
    homeDir: "src/",
    plugins: [
        eslinter()
    ],
    outFile: "build/out.js"
}).bundle(">index.ts [**/*.js]");
```

## Optional config

To configure plugin you only need to pass all options in form of Object:

```js
eslinter({
    pattern: /js(x)*$/
    eslint: {
        useEslintrc: false
    }
})
```

### pattern

Specifies regular expression to filter files.

**Default:** `/js$/`

### eslint

Specifies ESLint [options](http://eslint.org/docs/developer-guide/nodejs-api#cliengine) that are passed to ESlint engine.

**Defaults:**

* cwd - root of your project;
* configFile - `<root>/.eslintc.js` if presents
* baseConfig - `{"extends": ["eslint:recommended"]}`

---
_Source: https://npm.io/package/fuse-box-eslint-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
