question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hlint --json unrecognised flag

See original GitHub issue

i 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:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rikvdkleijcommented, Jul 25, 2017

Great!

In next version of plugin this issue will be prevented because validation while creating SDK is improved.

1reaction
rikvdkleijcommented, Jul 25, 2017

I think the mistake was that not Stack binary was set in Haskell Tool Stack SDK but GHC binary.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found