1 Star 0 Fork 118

mjw/yylAdminWeb_v3.0

forked from skyselang/yylAdminWeb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.cjs 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
skyselang 提交于 2024-02-07 12:25 . v4
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true
},
parser: 'vue-eslint-parser',
extends: ['plugin:vue/vue3-recommended', 'prettier', 'plugin:prettier/recommended'],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: './jsconfig.*?.json',
createDefaultProgram: false,
extraFileExtensions: ['.vue']
},
plugins: ['vue'],
rules: {
'vue/attributes-order': 'off',
'vue/attribute-hyphenation': 'off',
'vue/custom-event-name-casing': 'off',
'vue/max-attributes-per-line': 'off',
'vue/multi-word-component-names': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/no-v-html': 'off',
'vue/no-v-model-argument': 'off',
'vue/no-reserved-component-names': 'off',
'vue/one-component-per-file': 'off',
'vue/require-default-prop': 'off',
'vue/require-explicit-emits': 'off',
'vue/script-setup-uses-vars': 'error',
'vue/singleline-html-element-content-newline': 'off',
'vue/html-closing-bracket-newline': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'always',
normal: 'never',
component: 'always'
},
svg: 'always',
math: 'always'
}
],
'prettier/prettier': [
'error',
{
useTabs: false
}
]
},
overrides: [
{
files: ['*.html'],
processor: 'vue/.vue'
}
],
globals: {
OptionType: 'readonly'
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/marsjw/yylAdminWeb_v3.0.git
git@gitee.com:marsjw/yylAdminWeb_v3.0.git
marsjw
yylAdminWeb_v3.0
yylAdminWeb_v3.0
master

搜索帮助