3 Star 0 Fork 4

OpenTiny/tiny-vue-renderless

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
{
"root": true,
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"extends": ["plugin:vue/essential", "eslint:recommended"],
"parserOptions": {
"parser": "babel-eslint",
"sourceType": "module",
"allowImportExportEverywhere": false,
"ecmaVersion": 7
},
"rules": {
"no-debugger": "off",
"no-var": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"no-mixed-spaces-and-tabs": "error",
"no-undef": "error",
"no-extra-semi": "error",
"no-empty": "error",
"no-console": "off",
"semi": [2, "never"],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"max-len": [
"warn",
{
"code": 160
}
],
"function-paren-newline": ["off"],
"object-property-newline": [
"warn",
{
"allowAllPropertiesOnSameLine": true
}
],
"newline-per-chained-call": [
"warn",
{
"ignoreChainWithDepth": 4
}
],
"curly": "error",
"comma-dangle": ["off", "always-multiline"],
"semi-style": ["warn", "last"],
"max-lines": ["error", 2000],
"max-lines-per-function": ["warn", 50],
"complexity": ["error", 20],
"max-depth": ["warn", 4],
"max-nested-callbacks": ["error", 4],
"no-multi-assign": "off",
"no-undef-init": "warn",
"no-shadow": "off",
"max-params": ["warn", 5],
"no-param-reassign": "off",
"prefer-rest-params": "off",
"prefer-arrow-callback": "error",
"arrow-body-style": ["warn", "as-needed"],
"no-this-before-super": "error",
"quotes": ["warn", "single"],
"prefer-template": "off",
"no-multi-str": "warn",
"object-shorthand": "warn",
"dot-notation": "error",
"accessor-pairs": "error",
"no-prototype-builtins": "error",
"guard-for-in": "error",
"eqeqeq": "off",
"no-negated-condition": "off",
"default-case": "off",
"no-fallthrough": "error",
"no-case-declarations": "error",
"no-unsafe-finally": "error",
"no-eval": "error",
"no-with": "error",
"no-implicit-coercion": [
"error",
{
"allow": ["!!", "~"]
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opentiny/tiny-vue-renderless.git
git@gitee.com:opentiny/tiny-vue-renderless.git
opentiny
tiny-vue-renderless
tiny-vue-renderless
dev

搜索帮助