# eslint-config-lffg

> lffg's ESLint configuration.

Latest version **20.0.0** (published 2020-06-20) · MIT license · 0 weekly downloads

## Install

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

## 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 | 20.0.0 |
| Published | 2020-06-20 |
| First published | 2019-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Luiz Felipe Gonçalves |
| Maintainers | lffg |
| Keywords | eslint-config-lffg, eslint-config, typescript, javascript, prettier |

## Links

- npm: https://www.npmjs.com/package/eslint-config-lffg
- Repository: https://github.com/lffg/eslint-config-lffg
- Issues: https://github.com/lffg/eslint-config-lffg/issues
- npm.io page: https://npm.io/package/eslint-config-lffg

## Dependencies (14)

- [eslint](https://npm.io/package/eslint.md) 7.x
- [prettier](https://npm.io/package/prettier.md) 2.x
- [typescript](https://npm.io/package/typescript.md) >= 3.8.3
- [babel-eslint](https://npm.io/package/babel-eslint.md) 10.x
- [eslint-plugin-html](https://npm.io/package/eslint-plugin-html.md) 6.x
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.x
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.x
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) 6.x
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 6.x
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) 3.x
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) 3.x
- [confusing-browser-globals](https://npm.io/package/confusing-browser-globals.md) 1.x
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) 4.x
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) 3.x

## 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

- 20.0.0 (latest) — 2020-06-20
- 21.0.0-1 (next) — 2021-04-03
- 21.0.0-0 — 2021-04-03
- 20.0.0-1 — 2020-06-20
- 20.0.0-0 — 2020-06-20
- 19.0.0 — 2020-04-27
- 18.0.1 — 2020-04-10
- 18.0.0 — 2020-03-25
- 17.1.0 — 2020-03-25
- 17.1.0-pre-0 — 2020-03-25
- 17.0.0 — 2020-03-04
- 16.0.0 — 2020-02-29
- 15.0.0 — 2020-02-29
- 14.0.0 — 2020-02-29
- 14.0.0-0 — 2020-02-29
- … 47 more at https://npm.io/package/eslint-config-lffg/versions

## README

# `eslint-config-lffg` ✨💫

My personal ESLint configuration, which I use for almost all my projects. It is highly opinionated, and includes Prettier and TypeScript support by default.

## 🚀 Quick Start

Install it:

```shell
yarn add eslint eslint-config-lffg --dev
```

Add the following to your `package.json`:

```json
"eslintConfig": {
  "extends": "lffg"
},
"scripts": {
  "lint": "yarn lint:raw .",
  "lint:fix": "yarn lint:raw --fix .",
  "lint:raw": "eslint --max-warnings=0 --ignore-path .gitignore"
}
```

Then, you will be able to run:

- `lint`, to run the linter _without_ correcting any problems;
- `lint:fix`, to run the linter _and_ correct all the _fixable_ problems;
- `lint:raw`, to run the linter with custom options. I personally use that in some CI environments.

## ⚙️ Custom Configurations

By default, `eslint-config-lffg` extends three subconfigurations, which are also included in this repository:

- `es`, which lints ECMAScript (JavaScript) and TypeScript files;
- `react`, which lints files that uses React.

If you are not using React, you may only extend the `es` configuration:

```json
{
  "extends": "lffg/es"
}
```

## 📖 License

Copyright &copy; 2019-current [Luiz Felipe Gonçalves](https://luizfelipe.dev).  
MIT Licensed.

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