mirror of
https://github.com/MichMich/MagicMirror.git
synced 2026-07-23 07:44:20 -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`.
29 lines
579 B
JavaScript
29 lines
579 B
JavaScript
const config = {
|
|
address: "0.0.0.0",
|
|
ipWhitelist: [],
|
|
timeFormat: 12,
|
|
|
|
modules: [
|
|
{
|
|
module: "newsfeed",
|
|
position: "bottom_bar",
|
|
config: {
|
|
feeds: [
|
|
{
|
|
title: "Formatting Feed",
|
|
url: "http://localhost:8080/tests/mocks/newsfeed_basic_html.xml"
|
|
}
|
|
],
|
|
showDescription: true,
|
|
truncDescription: false,
|
|
allowedBasicHtmlTags: ["b", "strong", "i", "em", "u", "br", "code", "s", "sub", "sup"]
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|