-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-substantive changes per recommendations #95
Conversation
setup-node v3 > v4
Date() > Date(Date.now())
michmich > magicmirror
eslint-plugin-json > eslint-plugin-jsonc
package.json
Outdated
@@ -21,7 +21,7 @@ | |||
"eslint-config-airbnb-base": "^15.0.0", | |||
"eslint-config-prettier": "^9.0.0", | |||
"eslint-plugin-import": "^2.29.0", | |||
"eslint-plugin-json": "^3.1.0", | |||
"eslint-plugin-jsonc": "^2.14.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replacing the plugin is a good thing, but would also require a change in the ESLint configuration.
I see two options here:
- adjust the ESLint configuration accordingly. Or
- undo the change and we address this in a new PR. As I also like and use this module, I am quite willing to do this 🙂
I'll close and let you deal with ESLint. Once you have the ESLint tutorial up, I may try to tackle it. But I'm not very good with javascript, so I definitely don't know how to check it with ESLint. |
This reverts commit 4a34413.
Reopening with the jsonc change backed out. The others should be fine. |
Non-substantive changes as recommended here https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules/blob/main/result.md#MMM-JsonTable-by-timdows
I have tested this, though I'm not sure my non-dev production installation is using
eslint-plugin-json
, which is changed toeslint-plugin-jsonc
(latest version per the documentation I found) in this PR.They also recommend creating a "flat" eslint config, which I know nothing about,
and changing the primary branch name to.main
, which I can't do in a PRUpdate: I don't recommend changing the branch name as it will mess with
git pull