File tree Expand file tree Collapse file tree 5 files changed +8
-3
lines changed
Expand file tree Collapse file tree 5 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ planned for 2026-01-01
2020### Fixed
2121
2222- feat: add ESlint rule ` no-sparse-arrays ` for config check to fix #3910 (#3911 )
23+ - fixed eslint warnings shown in #3911 and updated npm publish docs (#3913 )
2324
2425### Updated
2526
Original file line number Diff line number Diff line change @@ -66,3 +66,7 @@ Are done by
6666- [ ] close all issues with label ` ready (coming with next release) `
6767- [ ] release new documentation by merging ` develop ` on ` master ` in documentation repository
6868- [ ] publish new version on [ npm] ( https://www.npmjs.com/package/magicmirror )
69+ - [ ] use a clean environment (e.g. container)
70+ - [ ] clone this repository with the new ` master ` branch and ` cd ` into the local repository directory
71+ - [ ] log in to npm with ` npm login --auth-type legacy ` which will ask for username and password and one-time-password which is sent via mail
72+ - [ ] execute ` npm publish `
Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ const Module = Class.extend({
415415} ) ;
416416
417417/**
418- * Merging MagicMirror² (or other) default/config script by @bugsounet
418+ * Merging MagicMirror² (or other) default/config script by ` @bugsounet`
419419 * Merge 2 objects or/with array
420420 *
421421 * Usage:
Original file line number Diff line number Diff line change @@ -876,7 +876,7 @@ Module.register("calendar", {
876876 * @param {string } url The calendar url
877877 * @param {string } property The property to look for
878878 * @param {string } defaultValue The value if the property is not found
879- * @returns {property } The property
879+ * @returns {string } The property
880880 */
881881 getCalendarProperty ( url , property , defaultValue ) {
882882 for ( const calendar of this . config . calendars ) {
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ Module.register("newsfeed", {
181181 * Gets a feed property by name
182182 * @param {object } feed A feed object.
183183 * @param {string } property The name of the property.
184- * @returns {property } The value of the specified property for the feed.
184+ * @returns {string } The value of the specified property for the feed.
185185 */
186186 getFeedProperty ( feed , property ) {
187187 let res = this . config [ property ] ;
You can’t perform that action at this time.
0 commit comments