classic-relayer/.eslintrc.json

46 lines
828 B
JSON
Raw Normal View History

2019-07-18 09:22:56 -04:00
{
2020-07-16 09:33:35 -04:00
"env": {
"node": true,
"browser": true,
"es6": true,
"mocha": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
2020-08-04 03:39:56 -04:00
"linebreak-style": ["error", "unix"],
2020-10-02 06:26:05 -04:00
"quotes": [
"error",
"single",
{
"avoidEscape": true
}
],
2020-08-04 03:39:56 -04:00
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
2020-07-16 09:33:35 -04:00
"require-await": "error",
2020-09-27 22:28:34 -04:00
"comma-dangle": ["error", "only-multiline"],
2020-07-16 09:33:35 -04:00
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
}
2019-07-18 09:22:56 -04:00
}