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

Use 'dhall' for remove boilerplate from '.hlint.yaml' file #147

Open
chshersh opened this issue Feb 25, 2018 · 1 comment
Open

Use 'dhall' for remove boilerplate from '.hlint.yaml' file #147

chshersh opened this issue Feb 25, 2018 · 1 comment

Comments

@chshersh
Copy link
Contributor

Currently there're a lot of boilerplatish content in .hlint.yaml file (like suggestions to use functions from universum, not other libraries). Specifying all such suggestions manually is not really convenient. What we want is to have some configuration language with variables and functions. Fortunately, such language exist!

And it even has converter to YAML:

So maybe we can rewrite whole .hlint.yaml file into dhall-lang file?.. Though, we still need to have .hlint.yaml file in repository. So, basically, when we change something in .hlint.dhall we also regenerate .hlint.yaml file and push both files to repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants