# bit-eslint

> eslint plugin for bit-loader

Latest version **1.1.3** (published 2016-11-13) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install bit-eslint
pnpm add bit-eslint
yarn add bit-eslint
bun add bit-eslint
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2016-11-13 |
| First published | 2016-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Miguel Castillo |
| Maintainers | manchagnu |
| Keywords | eslint |

## Links

- npm: https://www.npmjs.com/package/bit-eslint
- Repository: https://github.com/MiguelCastillo/bit-eslint
- Homepage: https://github.com/MiguelCastillo/bit-eslint#readme
- Issues: https://github.com/MiguelCastillo/bit-eslint/issues
- npm.io page: https://npm.io/package/bit-eslint

## Dependencies (1)

- [eslint](https://npm.io/package/eslint.md) ^3.5.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2016-11-13
- 1.1.2 — 2016-11-11
- 1.1.1 — 2016-09-13
- 1.1.0 — 2016-09-13
- 1.0.1 — 2016-08-08
- 1.0.0 — 2016-07-16

## README

# bit-eslint
[eslint](http://eslint.org) plugin for bit-loader to lint your JavaScript assets.

## Install

```
$ npm install --save bit-eslint
```

## bit-bundler

Sample configuration for bit-bundler

``` javascript
var Bitbundler = require("bit-bundler");
var jsPlugin = require("bit-loader-js");
var eslintPlugin = require("bit-eslint");

var bitbundler = new Bitbundler({
  loader: {
    plugins: [
      eslintPlugin({
        extensions: ["js", "jsx"]
      }),
      jsPlugin()
    ]
  }
});

bitbundler.bundle([{
  src: "browser.js",
  dest: "dist/<%= pkg.name %>.js"
}]);
```

## Options

### `exitOnError`

Flag to exit as soon as eslint reports an error.  Defaults to false.

``` javascript
eslintPlugin({
  exitOnError: true
});
```

### `formatter`

You can specify an eslint formatter:

> Other formatters are available [here](http://eslint.org/docs/developer-guide/nodejs-api#getformatter)

``` javascript
eslintPlugin({
  formatter: "compact"
});
```

### `options`

You can also provide [eslint](http://eslint.org) specific options.

> List of [eslint options](http://eslint.org/docs/developer-guide/nodejs-api#cliengine).

``` javascript
eslintPlugin({
  options: {
    useEslintrc: false
  }
})
```

## License

Licensed under MIT

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