-
Notifications
You must be signed in to change notification settings - Fork 720
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
New script to sync hlint rules #2836
Conversation
75813bb
to
1248327
Compare
This introduces a new script When run, this script will find extract all the This script is needed because the currently Haskell Language Server is unable to parse |
5afefa8
to
f843066
Compare
@@ -53,7 +53,7 @@ | |||
# Ignore some builtin hints |
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.
How often is this file likely to change? Its basiclay (mostly?) autogenerated,.If it changes all the time the it maybe should not be stored in git.
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.
I've renamed .hlint.yaml
to .hlint.template.yaml
and added .hlint.yaml
to .gitignore
.
The script will now generate a .hlint.yaml
using .hlint.template.yaml
as the template.
4350ba7
to
4e10706
Compare
4e10706
to
04a3157
Compare
|
||
To work around this, you may run the script `./scripts/reconfigure-hlint.sh` to generate a `.hlint.yaml` | ||
file with HLINT ignore rules derived from the source code. | ||
|
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.
Added some documentation.
bors merge |
Build succeeded: |
No description provided.