2019-07-18 09:22:56 -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",
|
2019-09-19 15:56:45 -04:00
|
|
|
2,
|
|
|
|
{"SwitchCase": 1}
|
2019-07-18 09:22:56 -04:00
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"require-await": "error"
|
|
|
|
}
|
|
|
|
}
|