linter-flow icon indicating copy to clipboard operation
linter-flow copied to clipboard

No linting or autocomplete happening

Open krainboltgreene opened this issue 8 years ago • 8 comments

  • I have a .flowconfig:
[ignore]
.*/node_modules/.*
<PROJECT_ROOT>/transpiled/.*

[include]
./source/

[libs]
flow-typed

[options]
all=true
  • I have it pointing to my flow binary:
"linter-flow":
  enableAll: true
  executablePath: "./node_modules/.bin/flow"

However, I still can't get it to actually give me errors.

krainboltgreene avatar Mar 11 '17 05:03 krainboltgreene

Does it work if you specify the full path to flow? I'm not entirely sure relative paths like that will work.

Arcanemagus avatar Mar 19 '17 20:03 Arcanemagus

If a full path works it would be a non-starter for me since I don't do global installs :(

krainboltgreene avatar Mar 19 '17 21:03 krainboltgreene

This isn't working for me either.

KingScooty avatar Apr 19 '17 16:04 KingScooty

and for me

AStaroverov avatar May 10 '17 09:05 AStaroverov

I try check work of this module for me and how i understand linter-flow correct work (provideLinter create correct messages), but i don`t see ui messages

AStaroverov avatar May 10 '17 10:05 AStaroverov

I have Linter version 2, but this package use spec for 1 version. Can this be a problem?

AStaroverov avatar May 10 '17 10:05 AStaroverov

Absolute path doesn't solve it for me. I was not very happy with Nuclide, so looking for an alternative.

hmeerlo avatar May 16 '17 08:05 hmeerlo

Following the suggestions in #67, had originally setup with ./node_modules/.bin/flow, I'm still getting errors from the linter, despite the binary definitely being present.

2017-05-18 at 15 26

Absolute path does make it work, but that isn't a real solution, since i don't have flow globally installed.

idan avatar May 18 '17 12:05 idan