Skip to content
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

Merged
merged 5 commits into from
Apr 1, 2024
Merged

Non-substantive changes per recommendations #95

merged 5 commits into from
Apr 1, 2024

Conversation

dathbe
Copy link
Contributor

@dathbe dathbe commented Mar 25, 2024

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 to eslint-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 PR.

Update: I don't recommend changing the branch name as it will mess with git pull

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",
Copy link
Contributor

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:

  1. adjust the ESLint configuration accordingly. Or
  2. 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 🙂

@dathbe
Copy link
Contributor Author

dathbe commented Mar 26, 2024

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.

@dathbe dathbe closed this Mar 26, 2024
@dathbe
Copy link
Contributor Author

dathbe commented Mar 26, 2024

Reopening with the jsonc change backed out. The others should be fine.

@dathbe dathbe reopened this Mar 26, 2024
@timdows timdows merged commit 16546f4 into timdows:master Apr 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants