# eslint-config-stripes

> The shared eslint configuration for stripes applications and extensions

Latest version **1.0.0** (published 2017-10-04) · Apache 2.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-10-04 |
| First published | 2017-09-22 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Charles Lowell |
| Maintainers | cowboyd |
| Keywords | eslint, eslintconfig |

## Links

- npm: https://www.npmjs.com/package/eslint-config-stripes
- Repository: https://github.com/folio-org/eslint-config-stripes
- npm.io page: https://npm.io/package/eslint-config-stripes

## Dependencies (6)

- [eslint-plugin-babel](https://npm.io/package/eslint-plugin-babel.md) ^4.1.2
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.3.0
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^15.1.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.7.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^5.1.1
- [eslint-import-resolver-webpack](https://npm.io/package/eslint-import-resolver-webpack.md) ^0.8.3

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

- 1.0.0 (latest) — 2017-10-04
- 0.0.1 — 2017-09-22

## README

# eslint-config-stripes

This package provides an extensible shared [ESLint](https://eslint.org) config, intended to promote consistent code style among applications built with [FOLIO Stripes](https://github.com/folio-org/stripes-core).

## Installation
If you haven't already installed ESLint as a dev dependency in your project, it's a required peer of `eslint-config-stripes`:
```
yarn add eslint -D
```

Then add `eslint-config-stripes` to your `devDependencies`:
```
yarn add eslint-config-stripes -D
```

Create `.eslintrc` in the root of your project. Its contents:
```
{
  "extends": "stripes"
}
```

### Using Babel?
If you're extensively using newer JavaScript syntax with Babel, you may want to use [`babel-eslint`](https://github.com/babel/babel-eslint) in your FOLIO project.
```
yarn add babel-eslint -D
```

In `.eslintrc`, specify your parser:
```
{
  "extends": "stripes",
  "parser": "babel-eslint"
}
```

## Usage
Run `eslint src` in your terminal to lint the files in the `src` directory (or modify to wherever the primary source of your project lives).

### Recommended
Add to your `package.json` `scripts`, so you can simply run `yarn lint`:
```
"lint": "eslint src"
```

## Additional information

See project [STRIPES](https://issues.folio.org/projects/STRIPES) at the [FOLIO issue tracker](http://dev.folio.org/community/guide-issues).

Other FOLIO Developer documentation is at [dev.folio.org](http://dev.folio.org/).

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