-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I installed hdevtools with stack install and tested linter-hdevtools with simple standalone scripts.
I have a hakyll project and have gotten the hdevtools CLI to work e.g.
hdevtools check site.hs
But I don't get any linting information when I am editing site.hs inside of Atom.
I uncommented the console.log at https://github.com/ranjitjhala/linter-hdevtools/blob/master/lib/init.coffee#L31
And here is what I see:
begin:Run from outside a project, using implicit global project config
Cabal error: At least the following dependencies are missing:
hakyll ==4.8.*
:end
As far as the package is concerned, this is not actionable information, since it has no file name, line number etc.
I can reproduce the same behavior with the CLI by, say going a directory up and doing
hdevtools check ./hakyll-blog/site.hs
I'm just wondering if there's something wrong with my stack setup, the linter library, or anything else?
BTW, I'm a UCSD alumnus and have been wanting to look into Liquid Haskell soon!