# @rellafella/eslint-config

> Personal eslint config

Latest version **1.2.0** (published 2021-07-19) · ISC license · 0 weekly downloads

## Install

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

## 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 | 1.2.0 |
| Published | 2021-07-19 |
| First published | 2021-07-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Liam Rella |
| Maintainers | rellafella |

## Links

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

## Dependencies (9)

- [eslint-plugin-vue](https://npm.io/package/eslint-plugin-vue.md) ^7.14.0
- [eslint-plugin-html](https://npm.io/package/eslint-plugin-html.md) ^6.1.2
- [@babel/eslint-parser](https://npm.io/package/@babel/eslint-parser.md) ^7.14.7
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.23.4
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^3.4.0
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^14.2.1
- [stylelint-config-standard](https://npm.io/package/stylelint-config-standard.md) ^22.0.0
- [stylelint-config-tailwindcss](https://npm.io/package/stylelint-config-tailwindcss.md) 0.0.1

## Recent versions

- 1.2.0 (latest) — 2021-07-19
- 1.1.0 — 2021-07-19
- 1.0.9 — 2021-07-19
- 1.0.8 — 2021-07-19
- 1.0.7 — 2021-07-19
- 1.0.6 — 2021-07-19
- 1.0.5 — 2021-07-19
- 1.0.4 — 2021-07-19
- 1.0.3 — 2021-07-19
- 1.0.2 — 2021-07-19
- 1.0.1 — 2021-07-19
- 1.0.0 — 2021-07-19

## README

# @rellafella/eslint-config

## Features

- with prettier support, thanks to [eslint-plugin-prettier](prettier.io/docs/en/eslint.html#use-eslint-to-run-prettier)

## Installation

Install the package with

```sh
npm i -D @rellafella/eslint-config
```

Then install the peerDependency packages.

```
npm i -D eslint@^7.16.0 prettier@^2.1.2 stylelint@^13.8.0
```

The correct versions of each peerDependency package are listed by the command:

```sh
npm info "@rellafella/eslint-config@latest" peerDependencies
```

Or, if using npm 5+, use this shortcut:

```sh
npx install-peerdeps --dev @rellafella/eslint-config
```

## Usage

This package will create the following 3 initial config files during installation:

- eslint.config.js
- prettier.config.js
- stylelint.config.js

If the config file exists already, it won't create/replace the file.

If you want to config manually, please add the config to either your `package.json`:

```json
{
  "eslintConfig": {
    "extends": "@rellafella"
  }
}
```

to your `.eslintrc`:

```json
{
  "extends": "@rellafella"
}
```

or `.eslintrc.js`:

```js
module.exports = {
  extends: "@rellafella",
};
```

### Prettier Config

This is how you use or extend the `@rellafella/eslint-config` prettier config in your
app:

```js
// prettier.config.js
module.exports = require("@rellafella/eslint-config/prettier.config");
```

## Assumptions

This ESLint configuration comes with some fundamental assumptions:

- node environment
- browser and/or node environment
- parser: babel (used babel-eslint parser)

Even though I made some assumptions, [you can easily overwrite, extend and unset
rules and any other setting in your custom eslint config](https://eslint.org/docs/user-guide/configuring).

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