2017-12-23 09:17:51 +01:00
|
|
|
module.exports = {
|
|
|
|
"env": {
|
2019-10-10 20:54:16 +02:00
|
|
|
"node": true,
|
2022-04-29 22:08:49 +02:00
|
|
|
"es2021": true,
|
2019-10-10 20:54:16 +02:00
|
|
|
"jest": true
|
2017-12-23 09:17:51 +01:00
|
|
|
},
|
2019-10-10 20:54:16 +02:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:jest/recommended"
|
|
|
|
],
|
2022-04-29 22:08:49 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
2017-12-23 09:17:51 +01:00
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
2022-04-29 22:08:49 +02:00
|
|
|
"SwitchCase": 1
|
2017-12-23 09:17:51 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"no-console": 0,
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
]
|
|
|
|
}
|
2022-04-29 22:08:49 +02:00
|
|
|
}
|