# eslint-config-mixup

> ESLint sharable config for mixup

Latest version **3.0.0** (published 2021-08-16) · MIT license · 0 weekly downloads

## Install

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

## 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 | 3.0.0 |
| Published | 2021-08-16 |
| First published | 2019-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 76.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ittiamc |

## Links

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

## Recent versions

- 3.0.0 (latest) — 2021-08-16
- 2.4.0 — 2021-08-16
- 2.3.23 — 2020-08-10
- 2.3.22 — 2020-07-24
- 2.3.19 — 2020-07-02
- 2.3.18 — 2020-06-23
- 2.3.17 — 2020-06-19
- 2.3.16 — 2020-06-18
- 2.3.15 — 2020-06-18
- 2.3.14 — 2020-06-16
- 2.3.11 — 2020-06-16
- 2.2.24 — 2020-04-30
- 2.2.23 — 2020-04-30
- 2.2.22 — 2020-04-29
- 2.2.21 — 2020-04-29
- … 15 more at https://npm.io/package/eslint-config-mixup/versions

## README

# eslint-config-mixup

#### ESLint sharable config for Mixup

## Install

```
$ npm install eslint babel-eslint  eslint-config-mixup --save-dev
```

## Usage

Add `.eslintrc.js` on your project's root directory.

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

### Support Vue

#### Install

```
$ npm install --save-dev eslint babel-eslint vue-eslint-parser eslint-plugin-vue eslint-config-mixup
```

#### rules and syntax

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

### Support React

#### Install

```
$ npm install --save-dev eslint babel-eslint eslint-plugin-react eslint-config-mixup
```

#### rules and syntax

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

### Support Typescript

#### Install

```
$ npm install --save-dev eslint typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-config-mixup
```

#### rules and syntax

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

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