Skip to content

fix: check that all mappings are used#504

Open
gameroman wants to merge 5 commits intoe18e:mainfrom
gameroman:fix-check-mappings-used
Open

fix: check that all mappings are used#504
gameroman wants to merge 5 commits intoe18e:mainfrom
gameroman:fix-check-mappings-used

Conversation

@gameroman
Copy link
Copy Markdown
Contributor

@gameroman gameroman commented Apr 3, 2026

🔗 Linked issue

See #312 (comment)

📚 Description

  • Added a check that all mappings are used
  • Fixed associated finding
  • Split formatting and module validation in ci for easier overview

Copy link
Copy Markdown
Contributor

@joaopedrodcf joaopedrodcf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice that you noticed this was not protected in CI and fixed it here 🙏

- name: Build
run: npm run build
- name: Lint
run: npm run lint
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain this one?

lint already runs both. im not sure we need individual steps

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It just makes it easier to see which part failed in overview

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the risk is that we add a third lint script in future and have to remember to add it here. having it in one means we don't need to remember that.

thoughts?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the risk is that we add a third lint script in future and have to remember to add it here. having it in one means we don't need to remember that.

thoughts?

True, but might be it is a good idea to have those decoupled

We already do that in npmx, for example

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.

4 participants