1 Star 1 Fork 0

潇洒哥 / campus_admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.cjs 822 Bytes
一键复制 编辑 原始数据 按行查看 历史
潇洒哥 提交于 2023-01-17 15:09 . 自动按需加载ant-design-vue
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
module.exports = {
root: true,
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier'
],
parserOptions: {
ecmaVersion: 'latest'
},
rules: {
'prettier/prettier': [
'warn',
{
singleQuote: true,
semi: false,
printWidth: 100,
trailingComma: 'none',
endOfLine: 'auto'
}
],
'vue/multi-word-component-names': [
'warn',
{
ignores: ['index']
}
],
'vue/no-setup-props-destructure': ['off'],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'editor.codeActionsOnSave': {
'source.fixAll': true
}
}
}
TypeScript
1
https://gitee.com/chi-xiaosage/campus_admin.git
git@gitee.com:chi-xiaosage/campus_admin.git
chi-xiaosage
campus_admin
campus_admin
main

搜索帮助