# eslint-config-mocha

> ESLint config for mochajs projects

Latest version **0.0.0** (published 2016-03-26) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2016-03-26 |
| First published | 2016-03-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Christopher Hiller |
| Maintainers | boneskull |

## Links

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

## Dependencies (1)

- [lodash.mergewith](https://npm.io/package/lodash.mergewith.md) ^4.3.2

## Recent versions

- 0.0.0 (latest) — 2016-03-26

## README

# eslint-config-mocha

> ESLint config for mochajs projects

## Summary

*Does nothing remarkable with linting your tests!*  Intended for use by projects under the [Mocha.js GitHub org](https://github.com/mochajs).

As of this writing, *this config is unused* by any published project.  Except this one, I guess.

## Install

Install with [npm](https://www.npmjs.com/)

```sh
$ npm i eslint eslint-config-standard eslint-plugin-import eslint-plugin-promise eslint-plugin-standard eslint-plugin-mocha-only eslint-config-mocha --save-dev
```

([About ESLint & `peerDependencies`](https://github.com/eslint/eslint/issues/3458))

## Usage

Assuming a JSON ESLint config, add the following to the root `.eslintrc.json`:

```json
{
  "extends": "mocha"
}
```

### For ES6 Modules

If using ES6 modules, instead:

```json
{
  "extends": "mocha/es6"
}
```

### For Tests

In your `test/.eslintrc.json`, try this:

```json
{
  "extends": "mocha/test"
}
```

## License

Copyright © 2016 [Christopher Hiller](https://mochajs.org)
Licensed under the ISC license.

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