加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jquery": true,
},
"globals": {
"Translator": true,
"echo": true,
"res": true,
"define": true,
"app": true,
"Waypoint": true,
"cd": true,
"CKEDITOR": true,
"Browser": true,
"notify": true,
"echarts": true,
"VideoPlayerSDK": true,
"WeixinJSBridge": true,
"UploaderSDK": true,
"QiQiuYun": true,
"noUiSlider": true,
"introJs": true,
"Handlebars": true,
"store": true,
"moment": true,
"Vue": true,
"itemBank": true,
"local": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module",
"ecmaVersion": 6,
},
"plugins": [
"react"
],
"rules": {
"no-useless-escape": 0,
"no-console": 0,
"no-empty": 2,
"no-unused-vars": 0,
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化