# vite-eslint-cli

> 基于vite + vue3/ vite + react等, 实现eslint prettier部署，内置vite vue3运行方式，执行代码构建以及eslint部署一体. 内置(pinia,vue-router等)

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

## Install

```sh
npm install vite-eslint-cli
pnpm add vite-eslint-cli
yarn add vite-eslint-cli
bun add vite-eslint-cli
```

Provides the command `vite-eslint-cli`.

## 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 | 1.0.1 |
| Published | 2022-03-05 |
| First published | 2022-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 375.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | lihaohao |
| Maintainers | lihh |
| Keywords | rollup, vue3, react, eslint, commitlint, prettier |

## Links

- npm: https://www.npmjs.com/package/vite-eslint-cli
- Repository: https://github.com/a572251465/vite-eslint-cli
- Issues: https://github.com/a572251465/vite-eslint-cli/issues
- npm.io page: https://npm.io/package/vite-eslint-cli

## 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

- 1.0.1 (latest) — 2022-03-05

## README

<p align="center">
  <a href="https://vitejs.dev" target="_blank" rel="noopener noreferrer">
    <img width="180" src="http://lihh-core.top/images/logo.png" alt="Vite logo" />
  </a>
</p>
<br/>

# vite-eslint-cli

> 基于vite + vue3/ vite + react等 实现eslint prettier部署，内置vite vue3运行方式。执行代码构建以及eslint部署一体

- 💡 基于vite 实现了项目以及规范一体化部署
- ⚡️可以从0 到 1快速部署
- 🛠️ 内置实现vue3/ ts/ eslint/ prettier/ commitlint/ husky/ pinia持久化/ vue-router
- 📦 可以快速实现从代码以及规范的搭建

## 与vite vue3的不同

- 使用vite 创建vue3 + ts项目只会出现一个简单模板, 需要手动`npm install`, 以及配置基本插件以及规范，例如：pinia, eslint等
- vite-eslint-cli 能做什么？？？
    - 💡 内置vite 创建方式，和单独使用vite没有什么不同
    - ⚡️ 内置了eslint规范，例如：prettier, eslint, commitlint, husky
    - 🛠️ 提供了vue3 的全家桶配置。例如: pinia, pinia-plugin-persist, vue-router
    - 📦 提供了pinia 持久化方案
    - 🔩 内置了vue-router以及pinia 案例
    - 🔑 可以用--template 参数 来替代vite --template参数

## 支持范围

| 功能                                           | 是否支持                                                                                                      |
| ------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------- |
| vue3 + ts                    | 支持                                   |
| vue3 + js | 待支持             |
| react + ts | 待支持 |
| react + js   | 待支持 |

## 使用

> $ npx vite-eslint-cli myapp
> <br/>
> $ npx vite-eslint-cli myapp --template vue-ts

## 注意

- 默认版本就是vue3 + ts

## QA

- 如果你是高手
    - 使用插件可以免去你配置规范的步骤，快速开发业务代码
- 如果你是新手
    - 让你从0 到1快速实现项目，内置“全家桶” 案例能够快速学习

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