# eslint-config-cloudcannon

> Eslint config for CloudCannon

Latest version **1.0.0-rc5** (published 2020-05-24) · MIT license · 0 weekly downloads

## Install

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

## 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.0.0-rc5 |
| Published | 2020-05-24 |
| First published | 2020-05-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jonatah Benatti |
| Maintainers | jonatah |
| Keywords | lint, javascript, cloudcannon, eslint |

## Links

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

## Dependencies (4)

- [eslint](https://npm.io/package/eslint.md) ^7.0.0
- [eslint-plugin-mocha](https://npm.io/package/eslint-plugin-mocha.md) ^7.0.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.20.2
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^14.1.0

## 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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.0-rc5 (latest) — 2020-05-24
- 1.0.0-rc4 — 2020-05-20
- 1.0.0-rc3 — 2020-05-20
- 1.0.0-rc2 — 2020-05-20
- 1.0.0-rc1 — 2020-05-20

## README

# CloudCannon ESLint Config

Welcome to the CloudCannon ESLint config. This will ensure your code follows the CloudCannon linting definitions.


## Setting up

Install packages:

```
$ npm install eslint-config-cloudcannon eslint eslint-plugin-import eslint-plugin-mocha --save-dev
```

Create a new file on the root directory name ".eslintrc.json" with the following content:

```
{
    "extends": [
        "cloudcannon"
    ]
}
```

Add the linting scripts into the packages.json file with the paths to the folders containing the .js code:

```
    "lint-autofix": "eslint --fix lib/** config/** test/** application.js",
    "lint-code": "eslint  lib/** config/** test/** application.js",
    "lint": "npm run lint-autofix && npm run lint-code"
```

Run the `lint-code` script to check the current errors:

```
$ npm run lint-code
```

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