29 Star 209 Fork 73

doramart/Pandora

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 929 Bytes
一键复制 编辑 原始数据 按行查看 历史
doramart 提交于 2021-09-25 15:10 . DoraCMS 2.1.8 版本发布
{
"extends": "eslint-config-egg",
"parser": "babel-eslint",
"plugins": ["prettier"],
"rules": {
"no-control-regex": 0,
"one-var-declaration-per-line": ["error", "initializations"],
"quotes": [2, "single"],
"arrow-parens": ["error", "always"],
"array-bracket-spacing": [2, "never"],
"space-before-function-paren": 0,
"indent": [0, 2],
"prettier/prettier": ["error", {}],
"linebreak-style": ["error", "unix"]
},
"globals": {
"concatPopulate": true,
"getDateStr": true,
"getContentListFields": true,
"getAuthUserFields": true,
"checkCurrentId": true,
"remote": true,
"hot": true,
"news": true,
"random": true,
"near_post": true,
"hottags": true,
"ads": true,
"recommend": true,
"tags": true,
"navtree": true,
"childnav": true,
"PluginsExtension": true,
"HeaderExtension": true,
"AssetsExtension": true
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/doramart/Pandora.git
git@gitee.com:doramart/Pandora.git
doramart
Pandora
Pandora
2.1.8

搜索帮助

Cb406eda 1850385 E526c682 1850385