Skip to content

Conversation

@jiegillet
Copy link
Contributor

See these comments.

I looked into the JS script, but things like corepack pnpm dlx scare me 😆
More importantly, I noticed on their .prettierignore file that they are actually ignoring the problem specs files, so I if we are going to ignore those files no matter what, we might as well start with this to fix the CI, and improve the formatting checks later.

@github-actions
Copy link
Contributor

Thank you for contributing to exercism/elixir 💜 🎉. This is an automated PR comment 🤖 for the maintainers of this repository that helps with the PR review process. You can safely ignore it and wait for a maintainer to review your changes.

Based on the files changed in this PR, it would be good to pay attention to the following details when reviewing the PR:

  • General steps
    • 🏆 Does this PR need to receive a label with a reputation modifier (x:size/{tiny,small,medium,large,massive})? (A medium reputation amount is awarded by default, see docs)

Automated comment created by PR Commenter 🤖.

# so we negate the result for consistency
! git grep --line-number ' $'
# binaries and files directly copied from exercism/problem-specifications are ignored
! git grep -I --line-number ' $' -- . \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The -I flag ignores binary files, because without it the check always fails for exercises/concept/file-sniffer/assets/elf.o locally. I'm not sure why it doesn't fail on CI, maybe a different version of git, but it doesn't really make sense to format binaries anyway.

Copy link
Member

@angelikatyborska angelikatyborska left a comment

Choose a reason for hiding this comment

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

Makes sense and works as expected. Thank you 🙌

@angelikatyborska angelikatyborska merged commit 4276432 into main Dec 27, 2025
9 checks passed
@angelikatyborska angelikatyborska deleted the jie-doc_format_checks branch December 27, 2025 07:42
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