Closed nejsimon closed 6 years ago
It's weird because this souldn't happen.. In this case you should see a red popup from the flow linter saying that it's an error.. Maybe there are some problems with async functions
Ah no sorry, you aren't in a JavaScript project, so you need to active the flow linter using the Tools menu! See here https://github.com/pichillilorenzo/JavaScriptEnhancements/wiki/Errors-and-linting
I'm encountering a similar issue, as I'm using SublimeLinter as well, with ESlint. I don't need or plan to use flow lint. In my case, JSE overrides the tooltip displayed by SublimeLinter.
With JSE enabled:
With JSE disabled:
It would be nice if we could set a level of priority, so that the SublimeLinter tooltip would have higher priority if needed, as I figure displaying both of them would be too complicated.
That's my situation as well. We have a bunch of eslint rules including a few custom ones to enforce our code conventions so I can't switch to flow even though there might be advantages.
I will check about that :+1:
Try the new version 0.16.14! Now it should work.
It seems to be working! Thanks a lot!
I seem to have this issue. Using 0.16.20, Sublime 3.2.
JSE is blocking SublimeLinter's tooltips when hovering regions.
It would be nice if Javascript Enhancements could be used together with SublimeLinter!
When a linter detects an error it will properly mark the code block in red but when hovering it you get something nonsensical from JavascriptEnhancements and not the expected tooltip message from SublimeLinter detailing the error. You can still see the error in the status field when placing the cursor in the code block though.
Expected Behavior
The linter error is shown when hovering the code.
Actual Behavior
A nonsensical message i shown
Sublime Text console logs
No errors in the log
Screenshots
SublimeLinter, JavaScriptEnhancements enabled SublimeLinter enabled, JavaScriptEnhancements disabled
Steps to Reproduce the Problem
Specifications