# eslint-config-b8ta

> Shared ESLint config we use for React projects at b8ta.

Latest version **2.1.0** (published 2017-05-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-b8ta
pnpm add eslint-config-b8ta
yarn add eslint-config-b8ta
bun add eslint-config-b8ta
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2017-05-29 |
| First published | 2016-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Thanik Bhongbhibhat |
| Maintainers | bhongy |
| Keywords | eslint, eslintconfig |

## Links

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

## Dependencies (3)

- [babel-eslint](https://npm.io/package/babel-eslint.md) ^7.2.3
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.0.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.3.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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2017-05-29
- 2.0.3 — 2017-05-28
- 2.0.2 — 2017-05-28
- 2.0.1 — 2017-05-28
- 2.0.0 — 2017-05-28
- 1.1.0 — 2017-05-28
- 1.0.8 — 2016-12-28
- 1.0.6 — 2016-12-27
- 1.0.5 — 2016-10-22
- 1.0.4 — 2016-08-28
- 1.0.3 — 2016-08-16
- 1.0.2 — 2016-08-16
- 1.0.1 — 2016-08-04
- 1.0.0 — 2016-08-04

## README

# eslint-config-b8ta

[Sharable ESlint config files](http://eslint.org/docs/developer-guide/shareable-configs) to "extends" in our projects. Do not extend the files from the "rules" folder directly.

# Configure Webpack Resolver for `eslint-plugin-import`

In projects that use special webpack resolve rules (such as `resolve.alias`), you will need to provide webpack config to allow `eslint-plugin-import` to resolve modules that it lints correctly.

**1. Install eslint-import-resolver-webpack**

```bash
yarn add -D eslint-import-resolver-webpack
```

Not every project needs this, so it is the consumer project's responsibility to manage the dependency. Recent working version tested was `eslint-import-resolver-webpack@0.8.1`.

**2. Update Settings of the project `.eslintrc` with `import/resolver`**

```json
{
  ...
  "settings": {
    "import/resolver": {
      "webpack": {
        "config": "./config/webpack.config.js"
      }
    }
  },
  ...
}
```

ESLint will find the config file using the path relative to the location of your `package.json`. If you want more power (e.g. using different webpack config for different builds), consider [using Javascript eslint config](http://eslint.org/docs/user-guide/configuring).

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