# eslint-config-sharlaan

> Shareable ESLint config

Latest version **2.3.10** (published 2019-01-19) · MIT license · 0 weekly downloads

## Install

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

## 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.3.10 |
| Published | 2019-01-19 |
| First published | 2017-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jérémie Parker |
| Maintainers | sharlaan |

## Links

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

## Dependencies (12)

- [eslint](https://npm.io/package/eslint.md) ^5.12.1
- [prettier](https://npm.io/package/prettier.md) ^1.15.3
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.0.1
- [eslint-plugin-vue](https://npm.io/package/eslint-plugin-vue.md) ^5.1.0
- [eslint-plugin-node](https://npm.io/package/eslint-plugin-node.md) ^8.0.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.12.4
- [prettier-eslint-cli](https://npm.io/package/prettier-eslint-cli.md) ^4.7.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.14.0
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^4.0.1
- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^12.0.0
- [eslint-plugin-standard](https://npm.io/package/eslint-plugin-standard.md) ^4.0.0
- [eslint-config-standard-jsx](https://npm.io/package/eslint-config-standard-jsx.md) ^6.0.2

## Recent versions

- 2.3.10 (latest) — 2019-01-19
- 2.3.9 — 2019-01-04
- 2.3.8 — 2019-01-04
- 2.3.7 — 2019-01-04
- 2.3.6 — 2018-06-30
- 2.3.5 — 2018-06-30
- 2.3.4 — 2018-06-30
- 2.3.3 — 2018-05-19
- 2.3.2 — 2018-05-12
- 2.3.1 — 2018-03-29
- 2.3.0 — 2018-03-29
- 2.2.4 — 2018-03-06
- 2.2.3 — 2018-03-03
- 2.2.2 — 2017-12-26
- 2.2.1 — 2017-12-26
- … 1 more at https://npm.io/package/eslint-config-sharlaan/versions

## README

# Shareable Eslint Config

[Shared ESLint config](http://eslint.org/docs/developer-guide/shareable-configs) for JavaScript code.

## `sharlaan` config

it contains generic rules for all JS projects (back & front)

## `sharlaan/react` config

it extends `sharlaan` config and add JSX / React specific rules

## `sharlaan/vue` config

it extends `sharlaan` config and add JSX / Vue specific rules

## Usage

You can use `eslint` and a config based on `eslint-config-standard` to lint your code and `eslint-prettier` to format it.

Here is how you can set it up to easily get up and running:

```sh
yarn add -D eslint-config-sharlaan
```

Then, extend `sharlaan` or `sharlaan/react` or `sharlaan/vue` in your `.eslintrc` depending on the kind of projects you're working on.

```json
{ "extends": ["sharlaan"] }
# or
{ "extends": ["sharlaan/react"] }
# or
{ "extends": ["sharlaan/vue"] }
```

... and optionally you can add these scripts in your `package.json`:

```json
"scripts": {
  "lint": "eslint ./",
  "fmt": "prettier-eslint \"{./*@(.js|.jsx),./!(node_modules|build|dist)/**/*@(.js|.jsx)}\" --write"
}
```

Happy linting and formatting !

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