403 Star 3.7K Fork 638

美乐低代码 / MetaLowCode 企业级全栈低代码平台

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 946 Bytes
一键复制 编辑 原始数据 按行查看 历史
王饶冀 提交于 2023-07-07 15:56 . 更新vite
/**
* 官网: https://cn.eslint.org/docs/user-guide/getting-started
* 规则查阅:https://cn.eslint.org/docs/rules/
* 参考资料:
http://tech.tea-culture.top/code/eslint/#eslint-%E8%A7%84%E5%88%99%E6%80%BB%E8%A7%88
https://blog.csdn.net/image_fzx/article/details/118195141
https://blog.csdn.net/weixin_57649833/article/details/120757938
*/
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/vue3-essential'
],
parserOptions: {
parser: '@babel/eslint-parser'
},
rules: {
'no-unused-vars': 'off',
'vue/no-mutating-props': 'off',
'vue/no-unused-components': 'off',
'no-console': import.meta.env.VITE_NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': import.meta.env.VITE_NODE_ENV === 'production' ? 'warn' : 'off',
// 关闭驼峰命名规则
'vue/multi-word-component-names': 0
}
}
JavaScript
1
https://gitee.com/MetaLowCode/MetaLowCode.git
git@gitee.com:MetaLowCode/MetaLowCode.git
MetaLowCode
MetaLowCode
MetaLowCode 企业级全栈低代码平台
master

搜索帮助