@denaro-config/eslint-config-vue3
@denaro-config/eslint-config-vue
:tada: 前端工程化中的 vue3 项目通用配置, 严格遵守 eslint-plugin-vue 官网推荐的风格规范。
参考官网地址
安装至您的项目
npm install -D @denaro-config/eslint-config-vue3
# or
pnpm install -D @denaro-config/eslint-config-vue3
# or
yarn add -D @denaro-config/eslint-config-vue3
使用
在项目根目录下创建 .eslintrc.js 文件, 参考配置内容如下:
module.exports = {
extends: ['@denaro-config/eslint-config-vue3']
}
你也可以在配置中省略 eslint-config:
module.exports = {
extends: ['@denaro-config/vue3']
}
结合 commitlint 使用
参考 commitlint
结合 cz-git 使用
参考 cz-git
结合 prettier 使用
参考 prettier
Related Packages
@tresinternet/eslint-config-vue3
Opinionated ESLint config for consistent, clean, auto-sorted code in TRES Vue3 a...
2,631
@dsb-norge/eslint-config-dsb-vue3-ts
ESLint standard config for Vue.js version 3 projects with Typescript support
3,371
0
Version History
| Version | Released | License |
|---|---|---|
| 1.4.13 | MIT | |
| 1.4.11 | MIT | |
| 1.4.10 | MIT | |
| 1.4.9 | MIT | |
| 1.4.8 | MIT | |
| 1.4.7 | MIT | |
| 1.4.6 | MIT | |
| 1.4.5 | MIT | |
| 1.4.4 | MIT | |
| 1.4.3 | MIT | |
| 1.4.2 | MIT | |
| 1.4.1 | MIT | |
| 1.4.0 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.4 | MIT | |
| 1.2.3 | MIT | |
| 1.2.2 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.0 | MIT |