1 Star 0 Fork 0

runler/水哥澎湃vue3入门

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.cjs 920 Bytes
一键复制 编辑 原始数据 按行查看 历史
runler 提交于 2024-01-21 14:07 +08:00 . 完成
/* 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/skip-formatting',
'.eslintrc-auto-import.json'
],
parserOptions: {
ecmaVersion: 'latest'
},
// 个性化格式配置
rules: {
'vue/multi-word-component-names': 0, // 不再强制要求组件命名
// indent: ['error', 4], // 4个空格缩进
'prettier/prettier': [
'error',
{
// indent: ['error', 4], // 4个空格缩进
semi: false, // 每行结尾符 ;取消
wrapAttributes: false, // 属性单独占一行关闭
printWidth: 130, // 每行最大字符数
endOfLine: 'auto' //不让prettier检测文件每行结束的格式
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/runler/edu-vue3.git
git@gitee.com:runler/edu-vue3.git
runler
edu-vue3
水哥澎湃vue3入门
master

搜索帮助