1 Star 0 Fork 479

libingxin / vue-devui

forked from DevUI / vue-devui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
TinsFox 提交于 2021-12-17 23:39 . fix: 修复git钩子校验 (#20)
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module',
ecmaVersion: 6,
ecmaFeatures: {
jsx: true,
tsx: true
}
},
env: {
browser: true,
node: true,
jest: true,
es6: true
},
plugins: ['@typescript-eslint'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-recommended',
'plugin:import/recommended',
'plugin:import/typescript'
],
rules: {
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
'no-undef': 2,
'vue/max-attributes-per-line': 'off',
'vue/no-multiple-template-root': 'off',
'vue/script-setup-uses-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
requireLast: false
},
singleline: {
delimiter: 'semi',
requireLast: true
}
}
],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error']
}
}
TypeScript
1
https://gitee.com/lbxpp/vue-devui.git
git@gitee.com:lbxpp/vue-devui.git
lbxpp
vue-devui
vue-devui
dev

搜索帮助