1 Star 10 Fork 3

we_coder/vue3-component-library

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
杨波 提交于 2022-09-04 13:38 . 删除单元测试功能
{
"root": true,
"env": {
"node": true,
"browser": true
},
"globals": {
"window": true,
"process": true
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended"
],
"rules": {
"no-tabs": "off",
"indent": ["error", 2],
"quotes": ["error", "single"],
"comma-dangle": "error",
"semi": ["error", "never"],
"comma-spacing": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"arrow-spacing": "error",
"block-spacing": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"switch-colon-spacing": "error",
"space-before-blocks": "error",
"space-before-function-paren": "error",
"spaced-comment": "error",
"no-trailing-spaces": "error",
"space-infix-ops": ["error", { "int32Hint": false }],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/ban-types": "off",
"vue/require-default-prop": "off",
"vue/require-explicit-emits": "off"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/we_coder/vue3-component-library.git
[email protected]:we_coder/vue3-component-library.git
we_coder
vue3-component-library
vue3-component-library
master

搜索帮助