# eslint-config-spec

> ESLint configuration and rules for @spec templates.

Latest version **2.1.2** (published 2018-01-22) · 0 weekly downloads

## Install

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

## 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.1.2 |
| Published | 2018-01-22 |
| First published | 2018-01-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Josh Black |
| Maintainers | joshblack |

## Links

- npm: https://www.npmjs.com/package/eslint-config-spec
- Repository: https://github.com/joshblack/spec/tree/master/packages/eslint-config-spec-base
- Issues: https://github.com/joshblack/spec/issues
- npm.io page: https://npm.io/package/eslint-config-spec

## Dependencies (1)

- [eslint-config-spec-base](https://npm.io/package/eslint-config-spec-base.md) 2.1.2

## Recent versions

- 2.1.2 (latest) — 2018-01-22
- 2.1.1 — 2018-01-22
- 2.1.0 — 2018-01-22
- 2.1.0-1 — 2018-01-22
- 2.1.0-0 — 2018-01-22
- 2.0.0 — 2018-01-20
- 1.3.1 — 2018-01-19
- 1.3.0 — 2018-01-19

## README

# `eslint-config-spec`

> Provides a set of ESLint rules and plugins to be shared by `@spec/cli` projects.

## Usage

Our default export contains all of our ESLint rules, including ECMAScript ES2015+ and React. It requires `eslint`, `eslint-plugin-import`, `eslint-plugin-react`, and `eslint-plugin-jsx-a11y`. By default, you can add this package to your project by running the following command:

```bash
npm i eslint-config-spec --save-dev
```

You can install the correct versions of each peer Dependency by running the following command:

```bash
npm info "eslint-config-spec@latest" peerDependencies
```

This typically gives you an output like:

```bash
{ eslint: '^3.19.0', 'eslint-plugin-import': '^2.2.0', 'eslint-plugin-jsx-a11y': '^4.0.0', 'eslint-plugin-react', '^6.10.3' }
```

Which you can then use like:

```bash
npm i eslint@^3.19.0 eslint-plugin-import@^2.2.0 eslint-plugin-jsx-a11y@^4.0.0 eslint-plugin-react@^6.10.3 --save-dev
```

Finally, just add `"extends": "spec"` to your `.eslintrc`.

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