2021-02-17 12:37:07 -05:00
|
|
|
module.exports = {
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2021": true,
|
2021-03-01 19:00:23 -05:00
|
|
|
"node": true,
|
|
|
|
"jest": true
|
2021-02-17 12:37:07 -05:00
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 12,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"rules": {
|
2021-03-31 13:41:27 -04:00
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"double"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
2021-04-30 12:31:14 -07:00
|
|
|
],
|
|
|
|
"no-constant-condition": [
|
|
|
|
"error",
|
|
|
|
{"checkLoops": false }
|
2023-11-07 21:38:50 -08:00
|
|
|
],
|
|
|
|
"no-use-before-define": [
|
|
|
|
"error",
|
|
|
|
{"variables": true, "functions": false, "classes": false, "allowNamedExports": true}
|
2021-03-31 13:41:27 -04:00
|
|
|
]
|
|
|
|
}
|
2021-04-30 12:31:14 -07:00
|
|
|
};
|