# eslint-config-lark

> ESLint configuration for projects

Latest version **0.4.0** (published 2022-02-21) · 0 weekly downloads

## Install

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

## 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.4.0 |
| Published | 2022-02-21 |
| First published | 2021-08-30 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 16 |
| Unpacked size | 72.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | me@virgo.one |
| Maintainers | virgo |
| Keywords | eslint, eslint-config, airbnb-base, react, react-hooks, prettier, typescript, jest, testing-library, emotion, import, promise, async-await |

## Links

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

## Dependencies (16)

- [read-pkg-up](https://npm.io/package/read-pkg-up.md) 7.0.1
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^26.1.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.21.5
- [eslint-plugin-compat](https://npm.io/package/eslint-plugin-compat.md) ^4.0.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.22.1
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^6.0.0
- [@emotion/eslint-plugin](https://npm.io/package/@emotion/eslint-plugin.md) ^11.2.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [eslint-plugin-jest-dom](https://npm.io/package/eslint-plugin-jest-dom.md) ^4.0.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.0.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.3.0
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^15.0.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4
- [eslint-plugin-testing-library](https://npm.io/package/eslint-plugin-testing-library.md) ^5.0.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.3.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^2.4.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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.4.0 (latest) — 2022-02-21
- 0.3.0 — 2021-12-28
- 0.1.8 — 2021-12-25
- 0.1.7 — 2021-12-14
- 0.1.6 — 2021-12-03
- 0.1.5 — 2021-11-05
- 0.1.4 — 2021-11-05
- 0.1.3 — 2021-09-19
- 0.1.2 — 2021-09-07
- 0.1.1 — 2021-09-01
- 0.1.0 — 2021-09-01
- 0.0.10 — 2021-09-01
- 0.0.8 — 2021-08-31
- 0.0.6 — 2021-08-30
- 0.0.1 — 2021-08-30

## README

# <em><b>ESLINT-CONFIG-LARK</b></em>

主要 fork 自 [eslint-config-welly](https://www.npmjs.com/package/eslint-config-welly)，做了一些改动，适应普通、react、node 项目

## Installation

requires [eslint](https://github.com/eslint/eslint) and [typescript](https://github.com/microsoft/TypeScript).

Install the correct version of each package, which are listed by the command:

```sh
npm info "eslint-config-lark@latest" peerDependencies
```

If using **npm 5+**, use this shortcut:

```sh
npx install-peerdeps --dev eslint-config-lark
```

Or install each package by yourself:

```sh
npm install --save-dev eslint-config-lark eslint@^x.x.x typescript@^x.x.x
# or
yarn add --dev eslint-config-lark eslint@^x.x.x typescript@^x.x.x
```

## Usage

Add the extends to your `.eslintrc.js`:

```js
module.exports = {
  extends: 'lark',
  rules: {
    // your overrides
  }
}
```

## Eliminate Prettier Conflicts for You

[Prettier](https://prettier.io) is a great code formatter, I highly recommend you guys give it a try. This package built-ins the [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) for you, all you need to do is setup the [Prettier CLI](https://prettier.io/docs/en/cli.html) to use it.

```json
// package.json

"format": "prettier --check ."
// or
"format": "prettier --write ."
```

## What's Inside?

This configuration contains the following cool packages.

| Package                                                                                                       | Description                                                                                                         | Auto Enabled |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------ |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint)                                   | Monorepo for all the tooling which enables ESLint to support [TypeScript](https://github.com/microsoft/TypeScript). |              |
| [eslint-config-airbnb-base](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb)   | This package provides Airbnb's .eslintrc as an extensible shared config.                                            |              |
| [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import)                                     | ESLint plugin with rules that help validate proper imports.                                                         |              |
| [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise)                                    | Enforce best practices for JavaScript promises.                                                                     |              |
| [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat)                                     | Lint the browser compatibility of your code.                                                                        |              |
| [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest)                                    | ESLint plugin for [Jest](https://jestjs.io).                                                                        | ✅           |
| [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react)                                       | React specific linting rules for ESLint.                                                                            | ✅           |
| [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks) | This ESLint plugin enforces the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html).                        | ✅           |
| [eslint-plugin-jest-dom](https://github.com/testing-library/eslint-plugin-jest-dom)                           | ESLint rules for use with [jest-dom](https://testing-library.com/docs/ecosystem-jest-dom).                          | ✅           |
| [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library)             | ESLint plugin for [Testing Library](https://testing-library.com/docs/react-testing-library/intro).                  | ✅           |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier)                                  | Turns off all rules that are unnecessary or might conflict with Prettier.                                           | ✅           |
| [@emotion/eslint-plugin](https://github.com/emotion-js/emotion/blob/master/packages/eslint-plugin/README.md)  | ESLint rules for [emotion](https://emotion.sh).                                                                     | ✅           |

## Thanks

[eslint-config-welly](https://www.npmjs.com/package/eslint-config-welly)

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