2 Star 3 Fork 5

叶建华/consult-patient-102

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.cjs 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
叶建华 提交于 2022-12-06 11:39 . 项目初始化
/* 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,
// 80个字符换行
printWidth: 80,
// 对象数组中, 去除最后的逗号
// [{name: '张三', ...}, {...}, {...},] => [{name: '张三', ...}, {...}, {...}]
trailingComma: 'none',
// 自动换行
endOfLine: 'auto'
}
],
// vue中组件的命名规范:大驼峰式
'vue/multi-word-component-names': [
'warn',
{
// 忽略index.vue文件
ignores: ['index']
}
],
// 允许对props进行解构, 我们会开启保持响应式的语法糖
'vue/no-setup-props-destructure': ['off']
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yjh8866/consult-patient-102.git
git@gitee.com:yjh8866/consult-patient-102.git
yjh8866
consult-patient-102
consult-patient-102
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385