MagicMirror/js
Kristjan ESPERANTO d276a7ddb9
Use template literals instead of string concatenation (#3066)
We have used it inconsistently till now. Template literals are more
modern and easier to maintain in my opinion.

Because that's a large amount of changes, here's a way to reproduce it:
I added the rule `"prefer-template": "error"` to the `.eslintrc.json`
and did an autofix. Since this caused a new problem in line 409 of
`newsfeed.js`, I reversed it in that line and also removed the rule from
the eslint config file.

The rule is described here:
https://eslint.org/docs/latest/rules/prefer-template

Note: I've played around with some other linter rules as well, and some
seem to point to some specific, non-cosmetic, issues. But before I dive
even deeper and then introduce even bigger and hardly understandable
changes at once, I thought I'd start with this simple cosmetic rule.
2023-03-19 14:32:23 +01:00
..
app.js Use template literals instead of string concatenation (#3066) 2023-03-19 14:32:23 +01:00
check_config.js Magic Mirror -> MagicMirror² 2022-01-26 23:09:26 +01:00
class.js More var -> let/const conversions 2021-07-14 10:41:29 +02:00
defaults.js added a new config option httpHeaders used by helmet 2022-05-13 22:29:43 +02:00
deprecated.js Magic Mirror -> MagicMirror² 2022-01-26 23:09:26 +01:00
electron.js Convert app-start/-stop callbacks to async/await (#3035) 2023-02-22 18:58:00 +01:00
fetch.js Switch back to third party fetch lib for all node versions (#2961) 2022-10-29 23:10:25 +02:00
loader.js Use template literals instead of string concatenation (#3066) 2023-03-19 14:32:23 +01:00
logger.js Magic Mirror -> MagicMirror² 2022-01-26 23:09:26 +01:00
main.js Use template literals instead of string concatenation (#3066) 2023-03-19 14:32:23 +01:00
module.js Use template literals instead of string concatenation (#3066) 2023-03-19 14:32:23 +01:00
node_helper.js Cleanup more callback things (#3051) 2023-02-26 18:36:47 +01:00
server.js Cleanup more callback things (#3051) 2023-02-26 18:36:47 +01:00
server_functions.js Use template literals instead of string concatenation (#3066) 2023-03-19 14:32:23 +01:00
socketclient.js Use template literals instead of string concatenation (#3066) 2023-03-19 14:32:23 +01:00
translator.js Use template literals instead of string concatenation (#3066) 2023-03-19 14:32:23 +01:00
utils.js Magic Mirror -> MagicMirror² 2022-01-26 23:09:26 +01:00