# @reskript/config-lint

> 提供eslint相关配置。

Latest version **6.2.1** (published 2024-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @reskript/config-lint
pnpm add @reskript/config-lint
yarn add @reskript/config-lint
bun add @reskript/config-lint
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.2.1 |
| Published | 2024-03-13 |
| First published | 2020-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14.18.0 \|\| >= 16.10.0 |
| Dependencies | 19 |
| Unpacked size | 24.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ecomfe-core, otakustay |

## Links

- npm: https://www.npmjs.com/package/@reskript/config-lint
- npm.io page: https://npm.io/package/@reskript/config-lint

## Dependencies (19)

- [postcss](https://npm.io/package/postcss.md) ^8.4.31
- [resolve](https://npm.io/package/resolve.md) ^1.22.6
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.23.0
- [postcss-less](https://npm.io/package/postcss-less.md) ^6.0.0
- [@reskript/core](https://npm.io/package/@reskript/core.md) 6.2.1
- [eslint-plugin-babel](https://npm.io/package/eslint-plugin-babel.md) ^5.3.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.33.2
- [stylelint-stylistic](https://npm.io/package/stylelint-stylistic.md) ^0.4.3
- [@babel/eslint-parser](https://npm.io/package/@babel/eslint-parser.md) ^7.22.15
- [@babel/eslint-plugin](https://npm.io/package/@babel/eslint-plugin.md) ^7.22.10
- [@ecomfe/eslint-config](https://npm.io/package/@ecomfe/eslint-config.md) ^8.0.0
- [@reskript/config-babel](https://npm.io/package/@reskript/config-babel.md) 6.2.1
- [eslint-plugin-reskript](https://npm.io/package/eslint-plugin-reskript.md) ^0.1.2
- [@reskript/eslint-plugin](https://npm.io/package/@reskript/eslint-plugin.md) 6.2.1
- [@rushstack/eslint-patch](https://npm.io/package/@rushstack/eslint-patch.md) ^1.5.1
- [@ecomfe/stylelint-config](https://npm.io/package/@ecomfe/stylelint-config.md) ^1.1.2
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.7.5
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.7.5

## Recent versions

- 6.2.1 (latest) — 2024-03-13
- 6.0.0-beta.4 (next) — 2023-05-28
- 6.2.0 — 2024-02-23
- 6.1.1 — 2023-12-21
- 6.1.0 — 2023-12-18
- 6.0.3 — 2023-10-10
- 6.0.2 — 2023-09-15
- 6.0.1 — 2023-08-17
- 6.0.0 — 2023-07-03
- 6.0.0-beta.3 — 2023-03-24
- 6.0.0-beta.2 — 2023-01-18
- 6.0.0-beta.1 — 2023-01-17
- 6.0.0-beta.0 — 2023-01-17
- 5.7.4 — 2023-01-10
- 5.7.3 — 2022-11-30
- … 130 more at https://npm.io/package/@reskript/config-lint/versions

## README

# @reskript/config-lint

提供eslint相关配置。

## 引用配置

如果你需要自行使用eslint，或者通过编辑器的eslint插件进行代码检查，你需要引用`@reskript/config-lint`内置的配置。

在项目的目录下，放置一个`.eslintrc.js`文件，包含以下内容：

```js
module.exports = {
    extends: require.resolve('@reskript/config-lint/config/eslint'),
    // 其它配置
};
```

因为需要通过`require.resolve`正确地找到配置的路径，所以配置文件必须使用`.js`后缀。

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