# eslint-config-pavo

> Pavo eslint configuration

Latest version **1.3.0** (published 2018-08-06) · ISC license · 0 weekly downloads

## Install

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

## 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.3.0 |
| Published | 2018-08-06 |
| First published | 2018-03-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 17 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | jamiemagique |
| Maintainers | jamiemagique |

## Links

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

## Dependencies (17)

- [eslint](https://npm.io/package/eslint.md) ^5.3.0
- [prettier](https://npm.io/package/prettier.md) ^1.14.0
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^8.2.6
- [prettier-eslint](https://npm.io/package/prettier-eslint.md) ^8.8.2
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^21.18.0
- [eslint-plugin-jsdoc](https://npm.io/package/eslint-plugin-jsdoc.md) ^3.7.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.10.0
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^17.0.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.13.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^2.9.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.1.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^2.6.2
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^13.0.0
- [eslint-plugin-css-modules](https://npm.io/package/eslint-plugin-css-modules.md) ^2.7.5
- [eslint-import-resolver-node](https://npm.io/package/eslint-import-resolver-node.md) ^0.3.2
- [eslint-plugin-require-jsdoc](https://npm.io/package/eslint-plugin-require-jsdoc.md) ^1.0.4
- [babel-plugin-module-resolver](https://npm.io/package/babel-plugin-module-resolver.md) ^3.1.1

## Recent versions

- 1.3.0 (latest) — 2018-08-06
- 1.2.4 — 2018-05-28
- 1.2.3 — 2018-04-29
- 1.2.2 — 2018-04-24
- 1.2.1 — 2018-04-02
- 1.2.0 — 2018-04-01
- 0.0.0-development — 2018-04-01
- 1.1.0 — 2018-04-01
- 1.0.4 — 2018-04-01
- 1.0.3 — 2018-03-31
- 1.0.2 — 2018-03-31
- 1.0.1 — 2018-03-31
- 1.0.0 — 2018-03-31

## README

# Pavo eslint configuration

[![Greenkeeper badge](https://badges.greenkeeper.io/jamiemagique/eslint-config-pavo.svg)](https://greenkeeper.io/)
![Status](https://david-dm.org/jamiemagique/eslint-config-pavo.svg)

Linting and Formatting with Prettier :nail_care:, built on top of Airbnb linting config.

## 1. Install

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

## 2. Usage

Create a `.eslintrc` file.

Add this configuration to extend:

```
{
  "extends": "eslint-config-pavo"
  "rules": {
    // Your projects overrides.
  }
}
```

You can layer multiple configurations depending upon your projects type:

```
{
  "extends": ["eslint-config-pavo", "eslint-config-pavo/<config-name>"]
}
```

Additional configs available are:

* react
* jest

### Scripts

Running the linter via scripts defined in `package.json`

```
"scripts": {
  "lint": "./node_modules/.bin/eslint src",
  "lint:fix": "npm run lint -- --fix",
}
```

Then on the command line:

```
npm run lint
npm run lint:fix
```

## Prettier integration

### Visual Studio Code

Extensions:

* [Prettier - Code formatter (esbenp.prettier-vscode)](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
* [ESLint (dbaeumer.vscode-eslint)](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)

Sample `.vscode/settings.json` config:

```
{
  "eslint.options": {
    "configFile": ".eslintrc",
    "parserOptions": {
      "ecmaVersion": 6,
      "sourceType": "module"
    }
  },
  "eslint.enable": true,
  "prettier.eslintIntegration": true,
  "editor.renderWhitespace": "all",
  "editor.trimAutoWhitespace": true,
  "editor.formatOnSave": true,
  "prettier.singleQuote": true,
  "prettier.stylelintIntegration": true,
  "prettier.trailingComma": "all"
}
```

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