1 Star 0 Fork 0

thinkwind/sealrtc-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 857 Bytes
一键复制 编辑 原始数据 按行查看 历史
lizhipeng 提交于 2019-03-28 11:01 . fix: resolve eslint err
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module"
},
"rules": {
"no-console": "warn",
"quotes": [2, "single"],
// "no-alert": "error",
"no-irregular-whitespace": "error",
"eqeqeq": "warn",
"key-spacing": "error",
"no-dupe-keys": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"no-underscore-dangle": "warn",
"no-control-regex": "warn",
"no-use-before-define": "warn",
"no-restricted-globals": "warn",
"indent": ["error", 2],
"max-nested-callbacks": ["error", { "max": 3 }],
"no-underscore-dangle": ["warn", { "allow": ["_on", "_off"] }]
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/thinkwind/sealrtc-web.git
[email protected]:thinkwind/sealrtc-web.git
thinkwind
sealrtc-web
sealrtc-web
master

搜索帮助