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

chore: Add HLint CI action and apply hints #55

Merged
merged 3 commits into from
Nov 19, 2024
Merged

chore: Add HLint CI action and apply hints #55

merged 3 commits into from
Nov 19, 2024

Conversation

croyzor
Copy link
Collaborator

@croyzor croyzor commented Nov 13, 2024

No description provided.

@croyzor croyzor marked this pull request as draft November 13, 2024 14:48
path: brat/
# https://github.com/haskell-actions/hlint-run/issues/20#issuecomment-2168787894
hlint-bin: hlint --hint=brat/.hlint.yaml
fail-on: warning
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We could get rid of this line and have the ci action generate information without failing the job if we prefer

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, I think we should enforce linting in CI 👍

@croyzor croyzor changed the title refactor: Update hlint file and apply fixes chore: Add HLint CI action and apply hints Nov 13, 2024
@croyzor croyzor marked this pull request as ready for review November 13, 2024 15:06
@croyzor croyzor requested a review from mark-koch November 13, 2024 15:06
Copy link
Collaborator

@mark-koch mark-koch left a comment

Choose a reason for hiding this comment

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

Very nice! ✨

Could you add a section to the readme explaining how to do the linting?

path: brat/
# https://github.com/haskell-actions/hlint-run/issues/20#issuecomment-2168787894
hlint-bin: hlint --hint=brat/.hlint.yaml
fail-on: warning
Copy link
Collaborator

Choose a reason for hiding this comment

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

No, I think we should enforce linting in CI 👍

@croyzor croyzor merged commit 86f94de into main Nov 19, 2024
2 checks passed
@croyzor croyzor deleted the hlint branch November 19, 2024 11:28
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