# @speedy-js/eslint-config

> ESLint config for speedy stack.

Latest version **0.1.4** (published 2022-02-05) · 0 weekly downloads

## Install

```sh
npm install @speedy-js/eslint-config
pnpm add @speedy-js/eslint-config
yarn add @speedy-js/eslint-config
bun add @speedy-js/eslint-config
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2022-02-05 |
| First published | 2021-11-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 14.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | amour1688, null~, thisispluto, zoolsher, ulivz, hardfist |
| Keywords | workflow, speedy, speedy-js, eslint config, eslint |

## Links

- npm: https://www.npmjs.com/package/@speedy-js/eslint-config
- npm.io page: https://npm.io/package/@speedy-js/eslint-config

## Dependencies (8)

- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.21.5
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.22.1
- [eslint-plugin-financial](https://npm.io/package/eslint-plugin-financial.md) ^0.1.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^4.9.1
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^14.2.1
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.2.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^4.9.1
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^2.3.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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.1.4 (latest) — 2022-02-05
- 0.1.3 — 2021-12-16
- 0.1.2 — 2021-12-04
- 0.1.1 — 2021-12-04
- 0.1.0 — 2021-11-20

## README

# @speedy-js/eslint-config

[![npm version](https://badgen.net/npm/v/@speedy-js/eslint-config)](https://npm.im/@speedy-js/eslint-config) 

ESLint config for Speedy Framework Developers

## Features

- Indent with 2 spaces and **always** semicolon
- Best practice with `js`、`ts`、`react` or their bundle!

## Install

```bash
npm i -D @speedy-js/eslint-config
# OR: npm install -D eslint @speedy-js/eslint-config
```

## Usage

### Lint All

In `.eslintrc.js`:

```js
module.exports = {
  extends: ["@speedy-js/eslint-config"],
};
```

This enable lint for both `js`、`ts` and `react`! you'll also need `typescript` as a devDependnecy at your project.

## Lint TypeScript

In `.eslintrc.js`:

```js
module.exports = {
  extends: ["@speedy-js/eslint-config/ts"],
};
```

You need specify `--ext` explicitly to enable TypeScript linting:

```json
{
  "lint": "eslint src/** --ext .js,.jsx,.ts,.tsx --fix"
}
```

### Lint JavaScript

In `.eslintrc.js`:

```js
module.exports = {
  extends: ["@speedy-js/eslint-config/js"],
};
```

### Lint React

In `.eslintrc.js`:

```js
module.exports = {
  extends: ["@speedy-js/eslint-config/react"],
};
```

## License

MIT &copy; [ULIVZ](https://github.com/sponsors/ulivz)

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