1 Star 0 Fork 0

展望/loong-naive-pro

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc 2.12 KB
一键复制 编辑 原始数据 按行查看 历史
TenXZW 提交于 2024-09-06 20:52 . first commit
{
"root": true,
"env": {
"browser": true,
"vue/setup-compiler-macros": true
},
"parserOptions": {
"ecmaVersion": 12,
"parser": "@typescript-eslint/parser"
},
"plugins": [
"prettier"
],
"globals": { //这个地方配置是为了防止下面的几个东西没有引入而被报错
"defineProps": "readonly",
"defineEmits": "readonly",
"defineExpose": "readonly",
"withDefaults": "readonly",
"defineOptions": "readonly"
},
"extends": [
"plugin:vue/vue3-recommended",
"airbnb-base",
"plugin:prettier/recommended",
"./.eslintrc-auto-import.json"
],
"overrides": [
{
"files": "*.html",
"processor": "vue/.vue"
}
],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
},
"rules": {
"prettier/prettier": [
"error",
{
"semi": true,
"endOfLine": "auto",
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"vueIndentScriptAndStyle": false,
"jsxBracketSameLine:": true,
"htmlWhitespaceSensitivity": "ignore",
"wrapAttributes": true,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "html"
}
}
]
}
],
"vue/multi-word-component-names": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"no-console": "off",
"consistent-return": "off",
"no-param-reassign": "off",
"new-cap": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"vue/no-v-html": "off",
"no-restricted-syntax": "off",
"guard-for-in": "off",
"import/prefer-default-export": "off",
"camelcase": "off",
"no-use-before-define": "off",
"import/no-extraneous-dependencies": "off",
"vue/require-default-prop": "off",
"no-unused-vars": "off",
"no-unused-expressions": "off",
"vue/valid-template-root": "off",
"no-restricted-globals": "off"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/TenXZW/loong-naive-pro.git
git@gitee.com:TenXZW/loong-naive-pro.git
TenXZW
loong-naive-pro
loong-naive-pro
master

搜索帮助