2024-11-02 16:01:04 +01:00
|
|
|
export default {
|
2017-12-23 09:17:51 +01:00
|
|
|
"env": {
|
|
|
|
"es6": true,
|
2019-10-10 20:54:16 +02:00
|
|
|
"node": true,
|
|
|
|
"jest": true
|
2017-12-23 09:17:51 +01:00
|
|
|
},
|
2019-10-10 20:54:16 +02:00
|
|
|
"parserOptions": {
|
2024-11-02 16:01:04 +01:00
|
|
|
"ecmaVersion": 2020
|
2019-10-10 20:54:16 +02:00
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:jest/recommended"
|
|
|
|
],
|
2017-12-23 09:17:51 +01:00
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"no-console": 0,
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
]
|
|
|
|
}
|
2019-10-10 20:54:16 +02:00
|
|
|
};
|