blob: 247bef82696204ed82e43b795f2c9500c4bffb04 [file] [log] [blame] [raw]
{
"root": true,
"extends": "eslint:recommended",
"env": {
"mocha": true,
"node": true,
"es6": true
},
"rules": {
"eqeqeq": ["error", "smart"],
"max-statements": ["error", 50],
"max-len": ["error", 120, { "ignoreRegExpLiterals": true }],
"eol-last": ["error", "always"],
"semi": ["error", "always"],
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-control-regex": 0,
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"quote-props": ["error", "as-needed"]
},
"parserOptions": {
"ecmaVersion": 2017
},
"globals": {
"BigInt": true
}
}