1 Star 1 Fork 0

大漠 / wei-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 714 Bytes
一键复制 编辑 原始数据 按行查看 历史
大漠古烟 提交于 2022-03-03 12:54 . complete components lib init
module.exports = {
root: true,
env: {
node: true
},
extends: ['plugin:vue/essential', '@vue/standard', '@vue/typescript/recommended'],
parserOptions: {
ecmaVersion: 2020
},
rules: {
indent: ['off', 4],
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'space-before-function-paren': 0,
//文件末尾要有空行检测关闭
'eol-last': 0,
//关闭注释风格要不要有空格什么的
'spaced-comment': 0
},
overrides: [
{
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
env: {
mocha: true
}
}
]
}
TypeScript
1
https://gitee.com/xianyoudamo/wei-ui.git
git@gitee.com:xianyoudamo/wei-ui.git
xianyoudamo
wei-ui
wei-ui
master

搜索帮助