1 Star 1 Fork 0

yunwisdom/xdata-element3-library

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 925 Bytes
一键复制 编辑 原始数据 按行查看 历史
module.exports = {
root: true,
env: {
node: true,
browser: true,
es2020: true,
jest: true
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended',
'@vue/prettier',
'@vue/prettier/@typescript-eslint'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off'
},
overrides: [
{
// enable the rule specifically for TypeScript files
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': 'warn'
}
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yunwisdom_zhao/xdata-element3-library.git
git@gitee.com:yunwisdom_zhao/xdata-element3-library.git
yunwisdom_zhao
xdata-element3-library
xdata-element3-library
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385