Skip to content

Conversation

@rejas
Copy link
Collaborator

@rejas rejas commented Sep 11, 2025

While looking into the weather module I got errors when trying to commit:

✖ prettier --write:
[error] No parser could be inferred for file "/Users/rejas/Projekte/MagicMirror/modules/default/weather/current.njk".
modules/default/weather/weather.css 15ms (unchanged)

So I looked into a plugin for prettier that allows formatting njk files and here is the PR for it.

Some noise due to never having them formatted with prettier but in the long run this should be helpful.

@rejas rejas changed the base branch from master to develop September 11, 2025 08:05
@rejas rejas marked this pull request as ready for review September 11, 2025 08:08
@KristjanESPERANTO KristjanESPERANTO merged commit 08d29c3 into MagicMirrorOrg:develop Sep 11, 2025
10 checks passed
@KristjanESPERANTO
Copy link
Collaborator

Nice 👍

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.

2 participants