# eslint-config-standard-deviation

> a shared eslint-config for javascript ES5, ES2015, ES.next and React projects

Latest version **2.0.1** (published 2017-03-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install eslint-config-standard-deviation
pnpm add eslint-config-standard-deviation
yarn add eslint-config-standard-deviation
bun add eslint-config-standard-deviation
```

## 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.0.1 |
| Published | 2017-03-11 |
| First published | 2016-08-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | bySabi Files |
| Maintainers | bysabi |
| Keywords | linter, eslint, config, shared, standard, ES5, ES2015, ES.next, jsx, React |

## Links

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

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

- 2.0.1 (latest) — 2017-03-11
- 2.0.0 — 2017-03-11
- 1.0.7 — 2016-09-18
- 1.0.6 — 2016-09-18
- 1.0.5 — 2016-09-17
- 1.0.4 — 2016-09-17
- 1.0.3 — 2016-09-17
- 1.0.2 — 2016-08-17
- 1.0.1 — 2016-08-08
- 1.0.0 — 2016-08-08

## README

# eslint-config-standard-deviation

[![npm version](https://badge.fury.io/js/eslint-config-standard-deviation.svg)](https://badge.fury.io/js/eslint-config-standard-deviation)
[![npm downloads](https://img.shields.io/npm/dm/eslint-config-standard-deviation.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-standard-deviation)
[![bitHound Overall Score](https://www.bithound.io/github/bySabi/eslint-config-standard-deviation/badges/score.svg)](https://www.bithound.io/github/bySabi/eslint-config-standard-deviation)

> ESLint [shared configuration](http://eslint.org/docs/developer-guide/shareable-configs) for javascript `ES5`, `ES2015`, `ES.next` and `React` projects based on `standard` shared eslint-config


* [eslint-config-standard][standard]
* [eslint-config-standard-react](https://github.com/feross/eslint-config-standard-react)


## What is different from `standard` eslint-config ?
[standard][standard] shared eslint-config rules are almost fine but we do not like to force us to ...
* not use semicolon `;`
* put space before function parens `function foo ()`

![eslint-config-standard-deviation][eslint-config-standard-deviation]
[eslint-config-standard-deviation]:./semicolon.jpg

[standard]: https://github.com/feross/eslint-config-standard

## Installation

### npm
```bash
npm install eslint-config-standard-deviation --save-dev
```

#### WITH dependencies
```bash
npm install eslint babel-eslint eslint-config-standard eslint-config-standard-react eslint-plugin-react eslint-plugin-promise eslint-plugin-standard --save-dev
```

#### OR add easily to projects using [eslint-modules-standard-deviation](https://github.com/bySabi/eslint-modules-standard-deviation)
```bash
npm install eslint eslint-modules-standard-deviation --save-dev
```
##### Works only in `npm 3` and beyond environments

## Usage
Add `extends` to project `.eslintrc`
```json
{
  "extends": ["standard-deviation"]
}
```
Add scripts to `package.json`
```json
"scripts": {
  "lint": "eslint . --ext .js,.jsx",
  "testonly": "echo \"Error: no test specified\" && exit 1",
  "test": "npm run lint && npm run testonly"
}
```

### [optional] enable/disable [eslint rules](http://eslint.org/docs/rules/)
```json
{
  "extends": ["standard-deviation"],
  "rules": {
    "space-before-function-paren": ["error", "always"]
  }
}
```

## for Javascript `ES5` only, use
* [eslint-config-standard-deviation--es5](https://github.com/bySabi/eslint-config-standard-deviation--es5)
* [eslint-modules-standard-deviation--es5](https://github.com/bySabi/eslint-modules-standard-deviation--es5)

## Projects using `eslint-config-standard-deviation`
* [react-scrollchor](https://github.com/bySabi/react-scrollchor)
* [react-scrollaware](https://github.com/bySabi/react-scrollaware)

## Contributing

* Documentation improvement
* Feel free to send any PR

## License

[ISC][isc-license]

[isc-license]:./LICENSE

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