1 Star 0 Fork 0

link_wo/vue3+ts重要项目

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.cjs 1002 Bytes
一键复制 编辑 原始数据 按行查看 历史
link_wo 提交于 2023-07-25 16:48 . init:完成初始化配置
/* 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'
],
parserOptions: {
ecmaVersion: 'latest'
},
rules: {
'prettier/prettier': [
'warn',
{
singleQuote: true, // 单引号
semi: false, // 没有分号
printWidth: 80, // 每行超过100字符, 自动换行
trailingComma: 'none', // 没有对象数组最后一个逗号
endOfLine: 'auto' // 自动添加换行符
}
],
'vue/multi-word-component-names': [
'warn',
{
// vue 组件需要大驼峰命名,除去 index 之外,App 是默认支持的
ignores: ['index']
}
],
// 允许对 props 进行解构,我们会开启解构保持响应式的语法糖
'vue/no-setup-props-destructure': ['off']
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/woo-woo-chicken/vue3-ts-important-projects.git
git@gitee.com:woo-woo-chicken/vue3-ts-important-projects.git
woo-woo-chicken
vue3-ts-important-projects
vue3+ts重要项目
main

搜索帮助