# eslint-config-jcv

> Unnecessary ESLint and Prettier setup

Latest version **0.1.3** (published 2020-03-10) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2020-03-10 |
| First published | 2019-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Juan Villela |
| Maintainers | fourjuaneight |
| Keywords | javascript, ecmascript, eslint, lint, config, prettier |

## Links

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

## Dependencies (9)

- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.0.3
- [eslint-plugin-html](https://npm.io/package/eslint-plugin-html.md) ^6.0.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.16.0
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^18.0.1
- [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.4.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.1
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^2.1.2

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

- 0.1.3 (latest) — 2020-03-10
- 0.1.2 — 2020-03-03
- 0.1.1 — 2020-02-05
- 0.1.0 — 2020-01-28
- 0.0.5 — 2019-12-21
- 0.0.4 — 2019-12-18
- 0.0.1 — 2019-12-17

## README

# Unnecessary ESLint and Prettier setup

[![npm version](https://img.shields.io/npm/v/eslint-config-jcv)](https://www.npmjs.com/package/eslint-plugin-jcv)
![badge](https://action-badges.now.sh/fourjuaneight/eslint-config-jcv)

Personally unnecessary config for ESLint and Prettier. I guess you can use it too, though there's hardly anything in it.

## What it does
* Lints JavaScript based on the latest standards
* Fixes issues and formatting errors with Prettier
* Lints + Fixes inside of HTML script tags
* Lints + Fixes React via eslint-config-airbnb

Please don't just install some rando's configuration for a potential code-breaking tool. Look at what I'm using and determine which rules work best for you.

## Installing
We're reasonable people, so let's install this locally.

1. If you don't already have a `package.json` file, create one with `npm init`.

2. Install the config's dependencies:

```
npx install-peerdeps --dev eslint-config-jcv
```

3. Create a `.eslintrc.js` file in the root of your project's directory (it should live where package.json does). Your `.eslintrc.js` file should look like this:

```json
{
  "extends": [
    "jcv"
  ]
}
```

For React projects:
```json
{
  "extends": [
    "jcv"
    "jcv/react"
  ]
}
```

Alternatively, you can put this object in your `package.json` under the property `"eslintConfig"`.

4. You can add two scripts to your package.json to lint and/or fix:

```json
"scripts": {
  "lint": "eslint .",
  "lint:fix": "eslint . --fix"
},
```

5. Now you can manually lint your code by running `npm run lint` and fix all fixable issues with `npm run lint:fix`. You probably want your editor to do this though.


_Setup and instructions "inspired" by [Wes Bos' No-Sweat™ config](https://github.com/wesbos/eslint-config-wesbos/)._

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