3 Star 1 Fork 1

mirrors_antoine92190/vue-advanced-chat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1016 Bytes
一键复制 编辑 原始数据 按行查看 历史
antoine92190 提交于 2022-07-26 14:58 +08:00 . (chore) clone lamejs locally
module.exports = {
root: true,
env: {
es2021: true
},
extends: ['standard', 'plugin:vue/vue3-recommended', '@vue/typescript'],
ignorePatterns: ['src/utils/lamejs/*.js'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-control-regex': 0,
'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/singleline-html-element-content-newline': 'off',
'vue/no-v-html': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'always',
normal: 'always',
component: 'always'
}
}
]
},
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_antoine92190/vue-advanced-chat.git
git@gitee.com:mirrors_antoine92190/vue-advanced-chat.git
mirrors_antoine92190
vue-advanced-chat
vue-advanced-chat
main

搜索帮助