Skip to content

Commit 22f3fdb

Browse files
chore: lint demo config
1 parent 9159d7b commit 22f3fdb

1 file changed

Lines changed: 71 additions & 71 deletions

File tree

demo.config.js

Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,120 @@
11
let config = {
2-
address: "0.0.0.0",
2+
address: '0.0.0.0',
33
ipWhitelist: [],
4-
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
4+
logLevel: ['INFO', 'LOG', 'WARN', 'ERROR', 'DEBUG'],
55
modules: [
66
{
7-
module: "clock",
8-
position: "middle_center"
7+
module: 'clock',
8+
position: 'middle_center',
99
},
1010

1111
{
1212
disabled: true,
13-
module: "MMM-OneCallWeather",
14-
position: "top_right",
15-
header: "TOTO",
13+
module: 'MMM-OneCallWeather',
14+
position: 'top_right',
15+
header: 'TOTO',
1616
config:
1717
{
1818
latitude: 45.466667,
1919
longitude: -73.75,
20-
apikey: "YOUR_API_KEY",
21-
iconset: "4a",
22-
iconsetFormat: "png",
23-
layout: "vertical"
24-
}
20+
apikey: 'YOUR_API_KEY',
21+
iconset: '4a',
22+
iconsetFormat: 'png',
23+
layout: 'vertical',
24+
},
2525
},
2626

2727
{
2828
disabled: true,
29-
module: "MMM-OneCallWeather",
30-
header: "Weather in London",
31-
position: "top_right",
29+
module: 'MMM-OneCallWeather',
30+
header: 'Weather in London',
31+
position: 'top_right',
3232
config: {
3333
colored: false,
34-
iconset: "9a",
35-
iconsetFormat: "svg",
34+
iconset: '9a',
35+
iconsetFormat: 'svg',
3636

37-
latitude: "51.500149",
38-
longitude: "-0.126240",
39-
apikey: "YOUR_API_KEY"
40-
}
37+
latitude: '51.500149',
38+
longitude: '-0.126240',
39+
apikey: 'YOUR_API_KEY',
40+
},
4141
},
4242
{
4343
disabled: true,
44-
module: "MMM-OneCallWeather",
45-
position: "top_left",
46-
header: "TOTO",
44+
module: 'MMM-OneCallWeather',
45+
position: 'top_left',
46+
header: 'TOTO',
4747
config: {
48-
latitude: "45.466667",
49-
longitude: "-73.75",
50-
apikey: "YOUR_API_KEY",
51-
iconset: "4a",
52-
iconsetFormat: "png"
53-
}
48+
latitude: '45.466667',
49+
longitude: '-73.75',
50+
apikey: 'YOUR_API_KEY',
51+
iconset: '4a',
52+
iconsetFormat: 'png',
53+
},
5454
},
5555
{
5656
disabled: true,
57-
module: "MMM-OneCallWeather",
58-
position: "top_left",
59-
header: "TOTO",
57+
module: 'MMM-OneCallWeather',
58+
position: 'top_left',
59+
header: 'TOTO',
6060
config: {
61-
layout: "vertical",
62-
latitude: "45.466667",
63-
longitude: "-73.75",
64-
apikey: "YOUR_API_KEY",
65-
iconset: "4a",
66-
iconsetFormat: "png"
67-
}
61+
layout: 'vertical',
62+
latitude: '45.466667',
63+
longitude: '-73.75',
64+
apikey: 'YOUR_API_KEY',
65+
iconset: '4a',
66+
iconsetFormat: 'png',
67+
},
6868
},
6969

7070
{
7171
disabled: true,
72-
module: "MMM-OneCallWeather",
73-
position: "top_left",
74-
header: "Weather in London",
72+
module: 'MMM-OneCallWeather',
73+
position: 'top_left',
74+
header: 'Weather in London',
7575
config: {
76-
latitude: "51.500149",
77-
longitude: "-0.126240",
78-
apikey: "YOUR_API_KEY",
79-
displayMode: "both-vertical"
80-
}
76+
latitude: '51.500149',
77+
longitude: '-0.126240',
78+
apikey: 'YOUR_API_KEY',
79+
displayMode: 'both-vertical',
80+
},
8181
},
8282
{
8383
disabled: false,
84-
module: "MMM-OneCallWeather",
85-
position: "top_left",
86-
header: "Weather in London",
84+
module: 'MMM-OneCallWeather',
85+
position: 'top_left',
86+
header: 'Weather in London',
8787
config: {
88-
layout: "vertical",
89-
latitude: "51.500149",
90-
longitude: "-0.126240",
91-
apikey: "YOUR_API_KEY",
88+
layout: 'vertical',
89+
latitude: '51.500149',
90+
longitude: '-0.126240',
91+
apikey: 'YOUR_API_KEY',
9292
showCurrent: true,
9393
showForecast: true,
9494
showAlerts: true,
95-
forecastLayout: "columns",
96-
arrangement: "horizontal"
97-
}
95+
forecastLayout: 'columns',
96+
arrangement: 'horizontal',
97+
},
9898
},
9999
{
100100
disabled: false,
101-
module: "MMM-OneCallWeather",
102-
position: "top_right",
103-
header: "Weather Alerts Test (Oklahoma)",
101+
module: 'MMM-OneCallWeather',
102+
position: 'top_right',
103+
header: 'Weather Alerts Test (Oklahoma)',
104104
config: {
105-
latitude: "35.4676", // Oklahoma City (Tornado Alley)
106-
longitude: "-97.5164",
107-
apikey: "YOUR_API_KEY",
105+
latitude: '35.4676', // Oklahoma City (Tornado Alley)
106+
longitude: '-97.5164',
107+
apikey: 'YOUR_API_KEY',
108108
showCurrent: true,
109109
showForecast: false,
110110
showAlerts: true, // Test alerts feature
111-
colored: true
112-
}
113-
}
114-
]
115-
};
111+
colored: true,
112+
},
113+
},
114+
],
115+
}
116116

117117
/** ************* DO NOT EDIT THE LINE BELOW ***************/
118-
if (typeof module !== "undefined") {
119-
module.exports = config;
118+
if (typeof module !== 'undefined') {
119+
module.exports = config
120120
}

0 commit comments

Comments
 (0)