Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Pass language extensions from cabal to hlint #110

Open
dpwiz opened this issue Feb 8, 2016 · 1 comment
Open

Pass language extensions from cabal to hlint #110

dpwiz opened this issue Feb 8, 2016 · 1 comment

Comments

@dpwiz
Copy link

dpwiz commented Feb 8, 2016

hlint tries to parse quasiquoted content as haskell code and warns about parsing errors everywhere. It is possible with -X option calm it down, but there's no setting to configure this.

Even better, if hlint could receive language options collected from cabal and module automatically.
UPD: Hmm. Hlint gets options from module header, but not cabal...

@lierdakil
Copy link
Contributor

Yes. This is mostly a ghc-mod problem. I'm aware of it, but didn't manage to get myself to fix it yet. Workaround for the time being is specifying flags in module header...

@lierdakil lierdakil changed the title Pass language options to hlint Pass cabal language extensions to hlint Mar 12, 2016
@lierdakil lierdakil changed the title Pass cabal language extensions to hlint Pass language extensions from cabal to hlint Mar 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants