1 Star 0 Fork 1

汤瑞鹏/vue-advanced-chat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 858 Bytes
一键复制 编辑 原始数据 按行查看 历史
antoine92190 提交于 2021-08-01 20:55 +08:00 . (fix) revert eslintrc
module.exports = {
root: true,
env: {
node: true
},
extends: ['standard', 'plugin:vue/recommended', '@vue/typescript'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/no-unused-properties': [
'error',
{
groups: ['props', 'data', 'computed', 'methods', 'setup'],
deepData: true
}
],
'no-empty-pattern': 'off',
'no-unused-vars': 'warn',
'valid-typeof': 'off',
indent: 'off',
'no-tabs': 'off',
'vue/html-indent': 'off',
'space-before-function-paren': 'off',
'vue/max-attributes-per-line': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'always',
normal: 'always',
component: 'always'
}
}
]
},
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tang_re_peng/vue-advanced-chat.git
git@gitee.com:tang_re_peng/vue-advanced-chat.git
tang_re_peng
vue-advanced-chat
vue-advanced-chat
master

搜索帮助