1 Star 0 Fork 110

linan / ng-form-elementplus

forked from jjxliu306 / ng-form-elementplus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
jjxliu306 提交于 2021-12-08 18:00 . 可发布版本翻版
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/vue3-essential',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-unused-vars': ['warn', { args: 'none' }], // 未使用的变量会警告,忽略函数参数未使用警告
'prefer-const': 'off', // 关闭强制 const
'no-useless-call': 'off', // 关闭使用 .call 警告
'no-useless-constructor': 'off', // 关闭空的 contructor 警告
'handle-callback-err': 'off', // 关闭回掉 err 必须使用的警告
'no-eval': 'off', // 关闭 eval 报错
'prefer-rest-params': 'off', // 关闭使用 arguments 变量报错
'no-unneeded-ternary': 'off', // 关闭三元表达式的报错
'eslint-disable-next-line': 'off',
'eslint-disable': 'off',
'vue/no-mutating-props': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-useless-template-attributes': 'off'
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/attend/ng-form-elementplus.git
git@gitee.com:attend/ng-form-elementplus.git
attend
ng-form-elementplus
ng-form-elementplus
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891