Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhiqiang21/autoconf-eslint-rule
eslint规则自动安装
https://github.com/zhiqiang21/autoconf-eslint-rule
Last synced: 8 days ago
JSON representation
eslint规则自动安装
- Host: GitHub
- URL: https://github.com/zhiqiang21/autoconf-eslint-rule
- Owner: zhiqiang21
- Created: 2020-04-26T09:28:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T04:38:51.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T16:55:18.021Z (about 1 month ago)
- Language: JavaScript
- Size: 430 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# autoconf-eslint-rule
eslint规则自动配置安装## 初始化Lint插件
1. 第一步全局安装插件
```
npm install -g autoconf-eslint-rule
```2.在需要配置eslit的项目目录执行 `initLintRule` 命令,该命令支持一下参数
`[不加参数]` **基本的javascript开发规则**
`--vue` **配置vue项目eslint规则**
`--react` **配置react项目eslint规则**
### 命令实例
![](./img/QQ20200430-141939.png)