-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
CONTRIBUTING: describe hlint and how it's used #6840
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relatively minor English copy-editing.
CONTRIBUTING.md
Outdated
Pandoc uses [hlint] to identify opportunities for code improvements, | ||
like redundant brackets, or pointing out unnecessary `Language` | ||
extensions. However, there sometimes are cases where there are good | ||
reasons to use code different from what hlint proposes. In these | ||
cases, the respective warning should be disabled in file | ||
`.hlint.yaml`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandoc uses [hlint] to identify opportunities for code improvements, | |
like redundant brackets, or pointing out unnecessary `Language` | |
extensions. However, there sometimes are cases where there are good | |
reasons to use code different from what hlint proposes. In these | |
cases, the respective warning should be disabled in file | |
`.hlint.yaml`. | |
Pandoc uses [hlint] to identify opportunities for code improvements | |
like redundant brackets or unnecessary `Language` | |
extensions. However, sometimes there are cases where there are good | |
reasons to use code different from what hlint proposes. In these | |
cases, the respective warning should be disabled in the file | |
`.hlint.yaml`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, updated!
CONTRIBUTING.md
Outdated
A good way to ensure no new hints are triggered is to use a git | ||
[pre-commit hook], which runs hlint on all updated Haskell files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good way to ensure no new hints are triggered is to use a git | |
[pre-commit hook], which runs hlint on all updated Haskell files | |
A good way to ensure no new warnings are introduced is to use a Git | |
[pre-commit hook] which runs hlint on all updated Haskell files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
3292025
to
a3aba9b
Compare
a3aba9b
to
095ef29
Compare
No description provided.