# @dawnjs/eslint-config-dawn

> dawn eslint rules

Latest version **3.2.0** (published 2021-12-02) · MIT license · 0 weekly downloads

## Install

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

## 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.2.0 |
| Published | 2021-12-02 |
| First published | 2021-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 27.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1130 |
| Author | Jeason |
| Maintainers | djknight, jeason, soulwu, ssbabysong |
| Keywords | dawn, lint, eslint, typescript-eslint, react, react-hooks |

## Links

- npm: https://www.npmjs.com/package/@dawnjs/eslint-config-dawn
- Repository: https://github.com/alibaba/dawn
- Homepage: http://dawnjs.com
- Issues: https://github.com/alibaba/dawn/issues
- npm.io page: https://npm.io/package/@dawnjs/eslint-config-dawn

## Dependencies (2)

- [eslint-config-ali](https://npm.io/package/eslint-config-ali.md) ^12.2.2
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.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

- 3.2.0 (latest) — 2021-12-02
- 3.1.3 — 2021-11-17
- 3.1.2 — 2021-11-17
- 3.1.1 — 2021-11-16
- 3.1.0 — 2021-11-12
- 3.0.0 — 2021-04-12
- 2.0.0 — 2021-03-31
- 2.0.0-alpha.2 — 2021-03-15
- 2.0.0-alpha.1 — 2021-03-15
- 2.0.0-alpha.0 — 2021-03-15

## README

<h1 align="center">
  <img src="https://img.alicdn.com/tfs/TB1OjR6HQL0gK0jSZFAXXcA9pXa-1360-1360.png" alt="Dawn" width="200">
  <br>Dawn<br>
</h1>

<h4 align="center">Lightweight task management and build tool.</h4>

<p align="center">
  <a href="https://github.com/alibaba/dawn/blob/main/LICENSE">
    <img src="https://img.shields.io/npm/l/@dawnjs/cli.svg" alt="LICENSE">
  </a>
  <a href="https://www.npmjs.com/package/@dawnjs/cli">
    <img src="https://img.shields.io/npm/v/@dawnjs/cli.svg" alt="npm version">
  </a>
  <a href="https://github.com/alibaba/dawn/actions/workflows/main.yml">
    <img src="https://github.com/alibaba/dawn/actions/workflows/main.yml/badge.svg" alt="CI">
  </a>
  <a href="https://www.npmjs.com/package/@dawnjs/cli">
    <img src="https://img.shields.io/npm/dt/@dawnjs/cli.svg" alt="npm downloads">
  </a>
</p>

<pre align="center">npm i <a href="https://www.npmjs.com/package/@dawnjs/cli">@dawnjs/cli</a> -g</pre>

[README in English](README-intl.md)

Dawn 取「黎明、破晓」之意，原为「阿里云·业务运营团队」内部的前端构建和工程化工具，现已完全开源。它通过 `pipeline` 和 `middleware` 将开发过程抽象为相对固定的阶段和有限的操作，简化并统一了开发人员的日常构建与开发相关的工作。

## 特点

- 采用中间件技术，封装常用功能，易于扩展，方便重用
- 支持 pipeline 让多个 task 协同完成构建任务
- 简单、一致的命令行接口，易于开发人员使用
- 支持基于「中心服务」管理中间件和工程模板
- 支持搭建私有中心服务，并统一下发构建规则，易于团队统一管理

## 安装

```sh
$ npm install @dawnjs/cli -g
```

## 使用

```sh
# 1. 创建 & 初始化
$ dn init -t front

# 2. 开发 & 实时编译
$ dn dev

# 3. 语法检查 & 测试
$ dn test

# 4. 构建 & 打包
$ dn build
```

## 示例（.dawn.yml 或 .dawn 目录）

```yml
# 启动开发服务
dev:
  - name: '@dawnjs/dn-middleware-webpack'
    env: development
    entry: ./src/*.js
    template: ./assets/*.html
    serverOpts:
      port: 8001

# 直接构建
buid:
  - name: '@dawnjs/dn-middleware-webpack'
    env: production
    entry: ./src/*.js
    template: ./assets/*.html
```

## 文档

- 使用入门：[getting-started.md](docs/markdowns/getting-started.md)
- 配置 Pipeline：[pipeline.md](docs/markdowns/pipeline.md)
- 中间件：[middleware.md](docs/markdowns/middleware.md)
- 更多文档：[https://alibaba.github.io/dawn/docs/](https://alibaba.github.io/dawn/docs/)

## 其它

- [贡献](CONTRIBUTING-zh.md)
- [更新日志](CHANGELOG.md)
- [MIT 协议](https://tldrlegal.com/license/mit-license)

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