0 Star 1 Fork 4

zxp-lethe / scui-vite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
zxp-lethe 提交于 2023-12-04 18:09 . first commit
module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true
},
parser: 'vue-eslint-parser',
extends: [
'plugin:vue/vue3-recommended',
'eslint:recommended',
'plugin:prettier/recommended'
],
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
jsxPragma: 'React',
ecmaFeatures: {
jsx: true
}
},
rules: {
'vue/script-setup-uses-vars': 'error',
'vue/custom-event-name-casing': 'off',
'no-use-before-define': 'off',
'no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_'
}
],
'space-before-function-paren': 'off',
'vue/attributes-order': 'off',
'vue/one-component-per-file': 'off',
'vue/html-closing-bracket-newline': 'off',
'vue/max-attributes-per-line': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/attribute-hyphenation': 'off',
'vue/require-default-prop': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'always',
normal: 'never',
component: 'always'
},
svg: 'always',
math: 'always'
}
],
'vue/v-on-event-hyphenation': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-setup-props-destructure': 'off'
}
};
JavaScript
1
https://gitee.com/zxp-lethe/scui-vite.git
git@gitee.com:zxp-lethe/scui-vite.git
zxp-lethe
scui-vite
scui-vite
master

搜索帮助