mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
While waiting for the easterbunny I cleaned up some bad coding practice :-) Very open for comments especially regarding the places I commented myself... --------- Co-authored-by: veeck <michael@veeck.de>
35 lines
711 B
JSON
35 lines
711 B
JSON
{
|
|
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:jsdoc/recommended"],
|
|
"plugins": ["prettier", "import", "jsdoc", "jest"],
|
|
"env": {
|
|
"browser": true,
|
|
"es2022": true,
|
|
"jest/globals": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"config": true,
|
|
"Log": true,
|
|
"MM": true,
|
|
"Module": true,
|
|
"moment": true
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaVersion": 2022,
|
|
"ecmaFeatures": {
|
|
"globalReturn": true
|
|
}
|
|
},
|
|
"rules": {
|
|
"eqeqeq": "error",
|
|
"import/order": "error",
|
|
"no-param-reassign": "error",
|
|
"no-prototype-builtins": "off",
|
|
"no-throw-literal": "error",
|
|
"no-unused-vars": "off",
|
|
"no-useless-return": "error",
|
|
"prefer-template": "error"
|
|
}
|
|
}
|