tornado-relayer/.eslintrc.json

46 lines
828 B
JSON
Raw Normal View History

2019-07-18 15:22:56 +02:00
{
2020-07-16 15:33:35 +02: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 09:39:56 +02:00
"linebreak-style": ["error", "unix"],
2020-10-02 12:26:05 +02:00
"quotes": [
"error",
"single",
{
"avoidEscape": true
}
],
2020-08-04 09:39:56 +02:00
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
2020-07-16 15:33:35 +02:00
"require-await": "error",
2020-09-28 04:28:34 +02:00
"comma-dangle": ["error", "only-multiline"],
2020-07-16 15:33:35 +02:00
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
}
2019-07-18 15:22:56 +02:00
}