You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,28 @@ We hold our code to standard, and these standards are documented below.
6
6
7
7
## Linters
8
8
9
-
We use prettier for automatic linting of all our files: `npm run lint:prettier`.
9
+
We use [prettier](https://prettier.io/) for automatic formatting a lot all our files. The configuration is in our `prettier.config.mjs` file.
10
10
11
-
### JavaScript: Run ESLint
11
+
To run prettier, use `npm run lint:prettier`.
12
12
13
-
We use [ESLint](https://eslint.org) on our JavaScript files.
13
+
### JavaScript: Run ESLint
14
14
15
-
The ESLint configuration is in our `eslint.config.mjs` file.
15
+
We use [ESLint](https://eslint.org) to lint our JavaScript files. The configuration is in our `eslint.config.mjs` file.
16
16
17
17
To run ESLint, use `npm run lint:js`.
18
18
19
19
### CSS: Run StyleLint
20
20
21
-
We use [StyleLint](https://stylelint.io) to lint our CSS. Our configuration is in our `.stylelintrc` file.
21
+
We use [StyleLint](https://stylelint.io) to lint our CSS. The configuration is in our `.stylelintrc.json` file.
22
22
23
23
To run StyleLint, use `npm run lint:css`.
24
24
25
+
### Markdown: Run markdownlint
26
+
27
+
We use [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) to lint our markdown files. The configuration is in our `.markdownlint.json` file.
28
+
29
+
To run markdownlint, use `npm run markdownlint:css`.
30
+
25
31
## Testing
26
32
27
33
We use [Jest](https://jestjs.io) for JavaScript testing.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21-10Lines changed: 21 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,26 @@ _This release is scheduled to be released on 2025-01-01._
16
16
-[core] Add wayland and windows start options to `package.json` (#3594)
17
17
-[docs] Add step for npm publishing in release process (#3595)
18
18
-[core] Add GitHub workflow to run spellcheck a few days before each release (#3623)
19
-
-[core] Add intest flag to index.html to pass to module js for test mode detection (needed by #3630)
20
-
-[compliments] add support for refreshing remote compliments file, and testcases (#3630)
19
+
-[core] Add test flag to `index.html` to pass to module js for test mode detection (needed by #3630)
20
+
-[core] Add export on animation names (#3644)
21
+
-[compliments] Add support for refreshing remote compliments file, and test cases (#3630)
21
22
-[linter] Re-add `eslint-plugin-import`now that it supports ESLint v9 (#3586)
22
-
-[linter] Re-activate `eslint-plugin-package-json` to lint `package.json`
23
-
-[core] Add export on animation names
23
+
-[linter] Re-activate `eslint-plugin-package-json` to lint `package.json` (#3643)
24
+
-[linter] Add linting for markdown files (#3646)
25
+
-[calendar] - added ability to display end date for full date events, where end is not same day (showEnd=true)
26
+
27
+
### Changed
28
+
29
+
-[core] Run code style checks in workflow only once.
24
30
25
31
### Removed
26
32
27
-
-[tests]Removed node-pty and drivelist from rebuilded test (#3575)
33
+
-[tests]Remove `node-pty` and `drivelist` from rebuilded test (#3575)
28
34
-[deps] Remove `@eslint/js` dependency. Already installed with `eslint` in deep (#3636)
29
35
30
36
### Updated
31
37
32
-
-[repo]reactivated`stale.yaml` as github action to mark issues as stale after 60 days and close them 7 days later (if no activity)
38
+
-[repo]Reactivate`stale.yaml` as GitHub action to mark issues as stale after 60 days and close them 7 days later (if no activity) (#3577, #3580, #3581)
33
39
-[core] Update electron dependency to v32 (test electron rebuild) and other dependencies too
34
40
-[tests] All test configs have been updated to allow full external access, allowing for easier debugging (especially when running as a container)
35
41
-[core] Run and test with node 23 (#3588)
@@ -38,12 +44,17 @@ _This release is scheduled to be released on 2025-01-01._
38
44
39
45
-[updatenotification] Fix pm2 using detection when pm2 script is inside or outside MagicMirror root folder (#3576) (#3605) (#3626) (#3628)
40
46
-[core] Fix loading node_helper of modules: avoid black screen, display errors and continue loading with next module (#3578)
41
-
-[weather]Changed default value for weatherEndpoint of provider openweathermap to "/onecall" (#3574)
42
-
-[tests]Fix electron tests with mock dates, the mock on server side was missing (#3597)
43
-
-[tests]Fix test cases with hard coded Date.now (#3597)
47
+
-[weather]changed default value for weatherEndpoint of provider openweathermap to "/onecall" (#3574)
48
+
-[tests]fix electron tests with mock dates, the mock on server side was missing (#3597)
49
+
-[tests]fix testcases with hard coded Date.now (#3597)
44
50
-[core] Fix missing `basePath` where `location.host` is used (#3613)
45
51
-[compliments] croner library changed filenames used in latest version (#3624)
46
-
-[linter] Fix ESLint ignore pattern which caused that default modules not to be linted. (#3632).
52
+
-[linter] Fix ESLint ignore pattern which caused that default modules not to be linted (#3632)
53
+
-[calendar] - update to resolve issues #3098#3144#3351#3422#3443#3467#3537 related to timezone changes
54
+
-[calendar] - fixes #3267 (styles array), also fixes event with both exdate AND recurrence(and testcase)
55
+
-[calendar] - fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
56
+
-[calendar] - fix showEnd for Full Day events #3602
57
+
-[tests] Suppress "module is not defined" in e2e tests
**MagicMirror²** is an open source modular smart mirror platform. With a growing list of installable modules, the **MagicMirror²** allows you to convert your hallway or bathroom mirror into your personal assistant. **MagicMirror²** is built by the creator of [the original MagicMirror](https://michaelteeuw.nl/tagged/magicmirror) with the incredible help of a [growing community of contributors](https://github.com/MagicMirrorOrg/MagicMirror/graphs/contributors).
@@ -24,7 +24,7 @@ For the full documentation including **[installation instructions](https://docs.
@@ -49,5 +49,5 @@ If we receive enough donations we might even be able to free up some working hou
49
49
To donate, please follow [this](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G5D8E9MR5DTD2&source=url) link.
50
50
51
51
<pstyle="text-align: center">
52
-
<a href="https://forum.magicmirror.builders/topic/728/magicmirror-is-voted-number-1-in-the-magpi-top-50"><img src="https://magicmirror.builders/img/magpi-best-watermark-custom.png" width="150" alt="MagPi Top 50"></a>
52
+
<ahref="https://forum.magicmirror.builders/topic/728/magicmirror-is-voted-number-1-in-the-magpi-top-50"><imgsrc="https://magicmirror.builders/img/magpi-best-watermark-custom.png"width="150"alt="MagPi Top 50"></a>
0 commit comments