1 Star 0 Fork 0

serverless-book / helloWorld

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 1.86 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
yangchun 提交于 2019-04-08 16:40 . init
{
"extends": "google",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017
},
"rules": {
"indent": [
2,
4,
{
"SwitchCase": 1
}
],
"no-tabs": 0,
"no-cond-assign": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 0,
"no-extra-semi": 2,
"no-regex-spaces": 2,
"no-empty": 2,
"valid-typeof": 2,
"no-irregular-whitespace": 2,
"no-multi-spaces": 2,
"no-native-reassign": 2,
"no-new-func": 0,
"no-new": 2,
"no-new-wrappers": 2,
"complexity": [
2,
6
],
"curly": [
2,
"all"
],
"no-param-reassign": 0,
"no-redeclare": 2,
"object-curly-spacing": [
2,
"always"
],
"no-else-return": 0,
"spaced-comment": "off",
"no-magic-numbers": [
1,
{
"ignore": [
0, -1,
1
]
}
],
"no-empty-function": 2,
"no-loop-func": "off",
"no-fallthrough": 2,
"no-extra-label:": 0,
"no-self-assign": 2,
"no-lone-blocks": 2,
"no-self-compare": 2,
"semi": "error",
"eol-last": "off",
"no-unreachable": "error",
"max-len": [
1,
120
],
"max-lines": [
1,
2000
],
"no-unmodified-loop-condition": 2,
"default-case": 2,
"require-jsdoc": "off",
"guard-for-in": "off",
"no-throw-literal": "off",
"space-before-function-paren": "off",
"no-trailing-spaces": "off"
}
}

评论 ( 0 )

你可以在登录后,发表评论

JavaScript
1
https://gitee.com/serverless-book/helloWorld.git
git@gitee.com:serverless-book/helloWorld.git
serverless-book
helloWorld
helloWorld
master

搜索帮助