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!
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.
Currently there're a lot of boilerplatish content in
.hlint.yaml
file (like suggestions to use functions fromuniversum
, 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 intodhall-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.