# @brudi/eslint-config-brudi

> Base [Eslint shareable config](https://eslint.org/docs/developer-guide/shareable-configs) of brudi

Latest version **0.2.1** (published 2019-08-10) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @brudi/eslint-config-brudi
pnpm add @brudi/eslint-config-brudi
yarn add @brudi/eslint-config-brudi
bun add @brudi/eslint-config-brudi
```

## 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.2.1 |
| Published | 2019-08-10 |
| First published | 2018-12-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 16.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mullerpeter, sandrowyss, zesi |

## Links

- npm: https://www.npmjs.com/package/@brudi/eslint-config-brudi
- npm.io page: https://npm.io/package/@brudi/eslint-config-brudi

## Dependencies (10)

- [prettier](https://npm.io/package/prettier.md) 1.18.2
- [babel-eslint](https://npm.io/package/babel-eslint.md) 10.0.2
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.14.3
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) 18.0.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.18.2
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) 6.0.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 6.2.3
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) 3.1.0
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) 14.0.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) 1.7.0

## Recent versions

- 0.2.1 (latest) — 2019-08-10
- 0.2.0 — 2019-08-10
- 0.1.8 — 2019-03-04
- 0.1.7 — 2019-02-16
- 0.1.6 — 2019-01-31
- 0.1.5 — 2019-01-31
- 0.1.4 — 2019-01-31
- 0.1.3 — 2019-01-30
- 0.1.2 — 2019-01-27
- 0.1.1 — 2018-12-10
- 0.1.0 — 2018-12-01

## README

# eslint-config-brudi

Base [Eslint shareable config](https://eslint.org/docs/developer-guide/shareable-configs) of brudi

[![NPM](https://img.shields.io/npm/v/@brudi/eslint-config-brudi.svg)](https://www.npmjs.com/package/@brudi/eslint-config-brudi)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fbrudi%2Feslint-config-brudi.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fbrudi%2Feslint-config-brudi?ref=badge_shield)

## Installation

Install the package with

`npm install eslint-config-brudi --save-dev`

or

`yarn add eslint-config-brudi -D`

## eslint Setup

Now add the config to either the `package.json`:

```json
{
  "eslintConfig": {
    "extends": ["@brudi/brudi"],
  }
}
```

or to the `.eslintrc` or `.eslintrc.js`:

```js
module.exports = {
  extends: ["@brudi/brudi"],
};
```

## ESLint and Prettier

- works together with prettier, thanks to [eslint-plugin-prettier](prettier.io/docs/en/eslint.html#use-eslint-to-run-prettier)
- the ESLint rules are based on the great work of [airbnb's eslint-config-airbnb](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb)
  - they also have a smaller more compact one: [eslint-config-airbnb-base](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base)
- made for React environment but can be used on a eg. node-server environment as well)
- handles jest for tests as well
- `env`: Browser and Node environment
- `globals`: added some related jest variables
- `parser`: usage of babel (used babel-eslint parser)

Note: you can still overwrite the `env`, `globals` and `parser` in your local
`.eslintrc.js`.

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fbrudi%2Feslint-config-brudi.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fbrudi%2Feslint-config-brudi?ref=badge_large)

© brudi, 2019. Licensed under an
[Apache-2](https://github.com/brudi/brudi-hui/blob/master/LICENSE) license.

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