mirror of https://gitee.com/bigwinds/arangodb
Bug fix 3.4/eslint proper settings (#10249)
* several eslint settings * disable some rules * sort order
This commit is contained in:
parent
fee2a05d16
commit
ae508c71ba
11
js/.eslintrc
11
js/.eslintrc
|
@ -13,7 +13,6 @@
|
|||
"extends": "semistandard",
|
||||
"rules": {
|
||||
"spaced-comment": 1,
|
||||
"quotes": 1,
|
||||
"space-unary-ops": 1,
|
||||
"no-eval": 1,
|
||||
"camelcase": 1,
|
||||
|
@ -23,12 +22,9 @@
|
|||
"no-multi-spaces": 1,
|
||||
"no-trailing-spaces": 1,
|
||||
"key-spacing": 1,
|
||||
"padded-blocks": 1,
|
||||
"yoda": 1,
|
||||
"no-throw-literal": 1,
|
||||
"operator-linebreak": 1,
|
||||
"indent": 1,
|
||||
"one-var": 1,
|
||||
"no-unused-vars": 1,
|
||||
"comma-spacing": 1,
|
||||
"block-spacing": 1,
|
||||
|
@ -64,6 +60,11 @@
|
|||
"handle-callback-err": 1,
|
||||
"object-property-newline": 1,
|
||||
"object-curly-spacing": 0,
|
||||
"standard/no-callback-literal": 0
|
||||
"standard/no-callback-literal": 0,
|
||||
"guard-for-in": "off",
|
||||
"one-var": "off",
|
||||
"quotes": "off",
|
||||
"padded-blocks": "off",
|
||||
"indent": "off"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue