https://github.com/long-woo/eslint-config-vue-standard
💩 自定义 Vue2 eslint 配置。
https://github.com/long-woo/eslint-config-vue-standard
Last synced: 13 days ago
JSON representation
💩 自定义 Vue2 eslint 配置。
- Host: GitHub
- URL: https://github.com/long-woo/eslint-config-vue-standard
- Owner: long-woo
- License: mit
- Archived: true
- Created: 2021-06-23T09:52:10.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T06:28:36.000Z (about 2 years ago)
- Last Synced: 2025-04-20T06:35:22.206Z (20 days ago)
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-vue-standard
自定义 Vue2 eslint 配置。
## 使用
安装依赖:
```sh
yarn add @loongwoo/eslint-config-vue-standard -D
# or
npm install @loongwoo/eslint-config-vue-standard --save-dev
```打开 `.eslintrc.js` 文件配置。修改 `extends` 选项,增加 `@loongwoo/vue-standard`:
```js
module.exports = {
...
extends: [..., '@loongwoo/vue-standard']
}
```