2016-05-03 19:09:38 -04:00
|
|
|
{
|
2020-07-27 13:10:07 +02:00
|
|
|
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:jsdoc/recommended"],
|
2023-03-22 23:53:10 +01:00
|
|
|
"plugins": ["prettier", "import", "jsdoc", "jest"],
|
2016-05-03 19:09:38 -04:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2023-03-20 22:18:58 +01:00
|
|
|
"es2022": true,
|
2021-06-11 23:11:30 +02:00
|
|
|
"jest/globals": true,
|
2020-04-20 22:04:11 +02:00
|
|
|
"node": true
|
2018-01-25 20:07:51 +01:00
|
|
|
},
|
2020-05-02 10:33:24 +02:00
|
|
|
"globals": {
|
|
|
|
"config": true,
|
|
|
|
"Log": true,
|
2020-05-02 10:39:09 +02:00
|
|
|
"MM": true,
|
2020-05-05 14:55:15 +02:00
|
|
|
"Module": true,
|
2020-05-02 10:33:24 +02:00
|
|
|
"moment": true
|
|
|
|
},
|
2018-01-25 20:07:51 +01:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
2023-03-20 22:18:58 +01:00
|
|
|
"ecmaVersion": 2022,
|
2018-01-25 20:07:51 +01:00
|
|
|
"ecmaFeatures": {
|
|
|
|
"globalReturn": true
|
|
|
|
}
|
2020-03-28 06:56:30 +01:00
|
|
|
},
|
2020-04-21 07:36:18 +02:00
|
|
|
"rules": {
|
2021-08-31 23:39:40 +02:00
|
|
|
"eqeqeq": "error",
|
2023-03-22 23:53:10 +01:00
|
|
|
"import/order": "error",
|
2023-04-16 17:38:39 +02:00
|
|
|
"no-param-reassign": "error",
|
2020-04-21 10:37:24 +02:00
|
|
|
"no-prototype-builtins": "off",
|
2023-03-20 22:18:58 +01:00
|
|
|
"no-throw-literal": "error",
|
2021-09-02 20:35:06 +02:00
|
|
|
"no-unused-vars": "off",
|
2023-03-19 14:32:23 +01:00
|
|
|
"no-useless-return": "error",
|
|
|
|
"prefer-template": "error"
|
2020-04-21 07:36:18 +02:00
|
|
|
}
|
2016-12-30 17:44:41 -03:00
|
|
|
}
|