Hlint --json unrecognised flag
See original GitHub issuei have hlint (HLint v1.9.41, © Neil Mitchell 2006-2016) current running, but in IntelliJ 2017 + intellij-haskell plugin something wrong with parameter --json:
Something went wrong while calling hlint. Error: ghc: unrecognised flag: -- did you mean one of: -F -v -j unrecognised flag: --json Usage: For basic information, try the --help' option
can i fix it ? or find out which hlint is called?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Unrecognised HLINT pragma in Haskell - Stack Overflow
Seems like the pragma actually works in my editor (VSCode with "Haskell" extension), but is not recognized when running stack . haskell ·...
Read more >Changelog for hlint-3.2 - Hackage
Changelog for HLint (* = breaking change) 3.2, released 2020-09-14 #75, make Windows ... add flip (>>=) ==> (=<<) and the reverse #61,...
Read more >hlint :: Stackage Server
Simple bindings for Vim, Emacs and Atom are available. While the --refactor flag is useful, not all hints support refactoring. See hints.md for...
Read more >lint-staged - npm
json contains the "type": "module" option or not. Pass a configuration file using the --config or -c flag. Configuration should be an object ......
Read more >Test Coverage Troubleshooting Tips - Code Climate
--debug flag with your cc-test-reporter. ... Error: json: cannot unmarshal object into Go struct field input.coverage of type []formatters.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great!
In next version of plugin this issue will be prevented because validation while creating SDK is improved.
I think the mistake was that not Stack binary was set in Haskell Tool Stack SDK but GHC binary.