1 Star 0 Fork 0

镜像库/glpi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 1.97 KB
一键复制 编辑 原始数据 按行查看 历史
Cédric Anne 提交于 2023-03-17 21:45 . Clean release archive (#14325)
{
"root": true,
"ignorePatterns": [
"/config/*",
"/files/*",
"/lib/*",
"/marketplace/*",
"/node_modules/*",
"/plugins/*",
"/public/lib/*",
"/public/build/*",
"/tests/config/*",
"/vendor/*",
"**/*.min.js"
],
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"extends": "eslint:recommended",
"globals": {
"CFG_GLPI": true,
"tinyMCE": true,
"__": true,
"_n": true,
"_x": true,
"_nx": true
},
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"eol-last": [
"error",
"always"
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"no-unused-vars": [
"error",
{
"vars": "local"
}
],
"quotes": [
"off",
"single"
],
"semi": [
"error",
"always"
]
},
"overrides": [
{
"files": ["js/modules/**"],
"parserOptions": {
"sourceType": "module"
}
},
{
"files": [".stylelintrc.js", ".webpack.config.js"],
"env": {
"node": true
}
},
{
"files": ["tests/js/**"],
"env": {
"node": true,
"jest": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
}
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dlcmirrors/glpi.git
git@gitee.com:dlcmirrors/glpi.git
dlcmirrors
glpi
glpi
10.0/bugfixes

搜索帮助