@denaro-config/eslint-config-vue3

1.4.6 • Public • Published

@denaro-config/eslint-config-vue

🎉 前端工程化中的 vue3 项目通用配置, 严格遵守 eslint-plugin-vue 官网推荐的风格规范。

npm (scoped) NPM

GitHub repo size GitHub Repo stars GitHub issues GitHub top language

npm jsDelivr hits (npm scoped)

参考官网地址

安装至您的项目

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

Package Sidebar

Install

npm i @denaro-config/eslint-config-vue3

Weekly Downloads

62

Version

1.4.6

License

MIT

Unpacked Size

6.71 kB

Total Files

5

Last publish

Collaborators

  • vxhly