{
"env": {
"browser": false
},
"globals": {
"define": true,
"asynctest": true,
"test": true
},
"rules": {
"camelcase": [2, {"properties": "never"}],
"strict": 0,
"eqeqeq": 0,
"no-underscore-dangle": 0,
"consistent-return": 0,
"no-shadow": 0,
"no-use-before-define": 0,
"brace-style": [2, "1tbs"],
"guard-for-in": 0,
"no-floating-decimal": 2,
"no-nested-ternary": 2,
"radix": 2,
"wrap-iife": [2, "inside"],
"consistent-this": [2, "self"],
"no-bitwise": 2,
"max-depth": [1, 8],
"max-statements": [2, 150],
"eol-last": 0,
"quotes": 0,
"no-trailing-spaces": 2,
"comma-spacing": [2, {"before": false, "after": true}],
"comma-dangle": ["error", "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": [2, {"int32Hint": false}],
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never",
"asyncArrow": "ignore"
}],
"object-curly-spacing": ["error", "always"],
"no-mixed-spaces-and-tabs": "error",
"keyword-spacing": 2,
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"space-before-blocks": [2, "always"],
"no-multiple-empty-lines": [1, {"max": 2}],
"operator-linebreak": [2, "after"],
"semi": [2, "always"],
"indent": ["error", 2, {"SwitchCase": 1}],
"curly": [2, "all"],
"dot-notation": [2, {"allowKeywords": false}],
"no-else-return": 0,
"no-eval": 2,
"no-implied-eval": 2,
"no-loop-func": 2,
"no-multi-str": 2,
"no-multi-spaces": 2,
"no-sequences": 2,
"no-new": 2,
"no-caller": 2,
"no-unused-vars": ["error", { "args": "none" }]
},
"extends": "eslint:recommended"
}
|