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

Get hlint using the same set of extensions #55

Closed
philderbeast opened this issue Jul 3, 2018 · 1 comment
Closed

Get hlint using the same set of extensions #55

philderbeast opened this issue Jul 3, 2018 · 1 comment

Comments

@philderbeast
Copy link
Contributor

From ndmitchell/hlint#223, HLint turns off QuasiQuotes even if turned on in default-extensions in the cabal file.

Please find a way to get hlint using the same set of extensions as are used to build the project.

@philderbeast
Copy link
Contributor Author

philderbeast commented Jul 14, 2018

From the root, linting can be done quickly with;

> stack exec hlint -- .

That aside, each hlint test-suite can be enabled with an edit of ./default-tests.dhall and running;

> ./stack-shake-build.sh cabal-files

The extensions in ./default-extensions.dhall are set in ./.hlint.yaml with;

> stack exec dhall-to-yaml -- < ./hlint.dhall > ./.hlint.yaml

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

No branches or pull requests

1 participant