Kristjan ESPERANTO
0b70274a1a
Replace prettier by stylistic to lint JavaScript ( #3303 )
...
In the latest versions of ESLint, more and more formatting rules were
removed or declared deprecated. These rules have been integrated into
the new Stylistic package (https://eslint.style/guide/why ) and expanded.
Stylistic acts as a better formatter for JavaScript as Prettier.
With this PR there are many changes that make the code more uniform, but
it may be difficult to review due to the large amount. Even if I have no
worries about the changes, perhaps this would be something for the
release after next.
Let me know what you think.
2023-12-25 08:17:11 +01:00
Kristjan ESPERANTO
4e7b68a69d
Remove some unused variables ( #3301 )
...
I have noticed unused variables that seem superfluous.
2023-12-23 07:27:02 +01:00
Kristjan SCHMIDT
a5668b1b99
Magic Mirror -> MagicMirror²
...
Consistent spelling
2022-01-26 23:09:26 +01:00
Karsten Hassel
c67320f185
fix logger.js
2021-09-28 22:08:21 +02:00
Karsten Hassel
c0ce52abe3
change getDocument, delay needed, now 2 tests moved
2021-09-25 00:01:41 +02:00
Karsten Hassel
a1c7f20990
fix logger.js, move jsdom in startApplication
2021-09-24 21:30:51 +02:00
karsten13
b4350278a0
first tests
2021-09-21 23:48:29 +02:00
Karsten Hassel
9969fede35
refactor e2e
2021-09-16 23:02:17 +02:00
Karsten Hassel
236bf6e0fc
silence logger for tests, use modulePaths for e2e
2021-09-13 23:55:41 +02:00
Karsten Hassel
d7c70dc021
fix logger.js
2021-09-09 23:30:36 +02:00
Karsten Hassel
53c789bff9
again logger.js due to problem with e2e test
2021-09-09 21:54:20 +02:00
Karsten Hassel
2b147bb98b
do logger mocking in logger.js, remove sandbox stuff from unit tests
2021-09-09 20:50:35 +02:00
Karsten Hassel
d9edaffd9c
reset changes on js/logger.js, mock logger.js in global_vars tests, workaround for failing dev_console test
2021-06-17 22:50:26 +02:00
Karsten Hassel
1ba67506a0
fix logger.js after jest changes
2021-06-16 20:51:32 +02:00
Karsten Hassel
a71e61cd30
use short if in weatherforecast.js, add comment to logger.js
2021-06-15 23:29:07 +02:00
karsten13
1a244726aa
run prettier
2021-06-11 22:24:21 +02:00
Karsten Hassel
66759a33fa
unit tests
2021-06-07 00:16:53 +02:00
veeck
ea264cb15e
Update console-stamp to latest version and configure it
2020-11-24 09:54:59 +01:00
veeck
5ac20d65ac
Add new log level "debug" for such a purpose
2020-11-06 11:47:09 +01:00
Stephan Huber
0ac5d56865
must be const for backward compatibility
2020-07-10 23:03:36 +02:00
rejas
9f5e1b59fb
Set logLevel after loading config
2020-07-04 22:02:39 +02:00
rejas
963b1aa6b1
Final cleanups I think
2020-06-02 15:05:31 +02:00
Veeck
13073bc98d
Lint stuff
2020-06-02 15:03:59 +02:00
Veeck
d0c6a4ee6d
Make logger configurable
2020-06-02 15:03:59 +02:00
rejas
367233c318
Add console-stamp to node-logger
2020-06-02 15:03:59 +02:00
rejas
9461c1692a
Add node/browser wrapper around logger
2020-06-02 15:03:59 +02:00
Veeck
abb5dc5739
Run prettier over ALL files once
...
No other changes done in this commit
2020-05-11 22:22:32 +02:00
rejas
c04fa496bf
Second round of undef fixes
2020-05-03 18:59:26 +02:00
rejas
e7fc4ef1e7
Replace unsecure links with https ones
2020-04-28 23:05:28 +02:00
rejas
d08bd4e866
Fix lots of warnings
2020-04-21 12:23:50 +02:00
Rodrigo Ramez Norambuena
83fb5b4d1b
logger: Show line number where is called the function for the log
2016-11-14 00:04:23 -03:00
Michael Teeuw
6510de5d29
Fix logger issue on electron.
2016-10-13 20:22:30 +02:00
Michael Teeuw
af63f4098f
Improve logger.
2016-10-13 13:24:56 +02:00
Michael Teeuw
0252495eca
Missing ,
2016-05-01 23:30:01 +02:00
Nicholas Hubbard
f627c5e5a1
Extend the Logger
...
Add Timing, Grouping, and Warning to the logger.
2016-05-01 13:46:41 -04:00
Nicholas Hubbard
426728058c
Standardize: TO JSCS!
2016-04-05 14:35:11 -04:00
Michael Teeuw
5eed80c28e
Squashed commit of the following:
...
commit e38dd346d9f796807ea71035c18e3533ec245ba6
Author: Michael Teeuw <michael@xonaymedia.nl>
Date: Sat Apr 2 19:17:30 2016 +0200
Add the possibility to set the maximum number of days.
commit 6f5c86775b708d19d3798267ffd23e491a1d2c62
Author: Sam Vendittelli <sam.vendittelli@hotmail.com>
Date: Sat Apr 2 06:27:44 2016 +0100
Fixed cursor appearing in margin
Cursor was appearing in the margin so moved `cursor: none` property to html.
commit 576c668d84b34b8ad7a0fd51b146fde60f721682
Author: Domi-G <lessuseguy+githubdomig@gmail.com>
Date: Fri Apr 1 22:52:32 2016 +0200
Huge cleanup of white space
2016-04-03 19:52:13 +02:00
Michael Teeuw
4266c0b279
Initial commit of V2.
2016-03-24 17:19:32 +01:00