# @s4p/eslint-config

> ## `npm install`

Latest version **5.2.0** (published 2022-03-03) · MIT license · 0 weekly downloads

## Install

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

## 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 | 5.2.0 |
| Published | 2022-03-03 |
| First published | 2018-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | xinshangshangxin, demoshang |

## Links

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

## Recent versions

- 5.2.0 (latest) — 2022-03-03
- 5.1.1 — 2021-11-02
- 5.0.2 — 2021-06-09
- 5.0.1 — 2021-06-09
- 2.0.1 — 2019-02-05
- 1.0.0 — 2018-10-27

## README

# shang personal eslint config

## `npm install`

```bash
# npm
npx install-peerdeps --dev @s4p/eslint-config
# or pnpm
pnpx install-peerdeps -P --dev @s4p/eslint-config
# or yarn
npx install-peerdeps -Y --dev @s4p/eslint-config
```

## config `.eslintrc.js`

```js
module.exports = {
  extends: ["@s4p/eslint-config"],
  env: {
    // 你的环境变量（包含多个预定义的全局变量）
    // browser: true,
    // node: true,
    // mocha: true,
    // jest: true,
    // jquery: true
  },
  globals: {
    // 你的全局变量（设置为 false 表示它不允许被重新赋值）
  },
  rules: {
    // 自定义你的规则
  },
};
```

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