1 Star 0 Fork 1

Zenus Technology/zeno-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
Jiayao Zhang 提交于 2021-08-20 04:23 +08:00 . new docs
module.exports = {
"env": {
"browser" : true,
"commonjs": true,
"es6" : true,
"node" : true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"sourceType" : "module"
},
"plugins": [
"html"
],
"rules": {
"array-bracket-spacing" : ["error", "never"],
"array-callback-return" : ["error"],
"block-scoped-var" : ["error"],
"block-spacing" : ["error", "always"],
"curly" : ["error"],
"dot-notation" : ["error"],
"eqeqeq" : ["error"],
"indent" : ["error", 4],
"linebreak-style" : ["error", "unix"],
"no-console" : ["warn"],
"no-floating-decimal" : ["error"],
"no-implicit-coercion" : ["error"],
"no-implicit-globals" : ["error"],
"no-loop-func" : ["error"],
"no-return-assign" : ["error"],
"no-template-curly-in-string": ["error"],
"no-unneeded-ternary" : ["error"],
"no-unused-vars" : ["error", { "args": "none" }],
"no-useless-computed-key" : ["error"],
"no-useless-return" : ["error"],
"no-var" : ["error"],
"prefer-const" : ["error"],
"quotes" : ["error", "single"],
"semi" : ["error", "always"]
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zenustech/zeno-docs.git
git@gitee.com:zenustech/zeno-docs.git
zenustech
zeno-docs
zeno-docs
master

搜索帮助