mirror of
https://github.com/MichMich/MagicMirror.git
synced 2026-07-21 02:06:50 -07:00
cdab7a7ea3
This replaces `let` with `const` for variable declarations where it was possible. Using `const` [is considered best practice](https://www.xjavascript.com/blog/in-javascript-why-should-i-usually-prefer-const-to-let/#5-best-practices-const-first-let-second). I have enabled the corresponding ESLint rule and let the ESLint auto-fix the "wrong" usages of `let`.
32 lines
595 B
JavaScript
32 lines
595 B
JavaScript
/*
|
|
* MagicMirror² Test config for fullday calendar entries over multiple days
|
|
*
|
|
* By Paranoid93 https://github.com/Paranoid93/
|
|
* MIT Licensed.
|
|
*/
|
|
const config = {
|
|
address: "0.0.0.0",
|
|
ipWhitelist: [],
|
|
timeFormat: 12,
|
|
|
|
modules: [
|
|
{
|
|
module: "calendar",
|
|
position: "bottom_bar",
|
|
config: {
|
|
calendars: [
|
|
{
|
|
maximumNumberOfDays: 2,
|
|
url: "http://localhost:8080/tests/mocks/calendar_test_full_day_events.ics"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|