22 Star 470 Fork 59

undraw/undraw-ui

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.cjs 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
readpage 提交于 2024-06-11 15:05 +08:00 . refactor: ♻️ 重构 [editor] 编辑器
// 配置信息
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true
},
parser: 'vue-eslint-parser',
extends: [
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended'
],
parserOptions: {
ecmaVersion: 12,
parser: '@typescript-eslint/parser',
sourceType: 'module'
},
plugins: ['vue', '@typescript-eslint'],
settings: {},
rules: {
'@typescript-eslint/no-explicit-any': 'off', // 禁止使用该any类型。
'@typescript-eslint/no-unused-vars': 'off', //禁止未使用的变量
'vue/valid-template-root': 'off',
'vue/no-v-html': 'off',
'prefer-const': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'vue/multi-word-component-names': 'off',
'@typescript-eslint/no-non-null-assertion': 'off', // 关闭 !断言赋值警告
'vue/require-default-prop': 'off' // props 需要设置默认值
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/undraw/undraw-ui.git
git@gitee.com:undraw/undraw-ui.git
undraw
undraw-ui
undraw-ui
master

搜索帮助