Repository navigation
Add eslint support - #307
Add eslint support #307mickaelistria merged 1 commit into
Conversation
|
ESLint tests fail for me similarly to how they fail on CI. |
|
I enabled logging of the tsserver to try and see if there's any hints as to why the tests are failing. |
f48ae78 to
a5dc534
Compare
|
It turns out the dependencies ( The TestDebug.testFindThreadsAndHitsBreakpoint is still failing, although I'm not sure if this is related to my patch. |
fe9ad11 to
5b579eb
Compare
mickaelistria
left a comment
There was a problem hiding this comment.
The TestJSON is also failing for me locally, and the JSON language server seems actually broken by that change: I cannot use it manually. The reason is that the serverCapabilities aren't returned properly by the LS, instead, the LS says {"jsonrpc":"2.0","id":"1","error":{"code":-32603,"message":"Request initialize failed with message: Cannot read property 'provideFormatter' of undefined"}}
Ok, I'm going to look into it right now. |
|
It looks like the newest version of the JSON LS ( What confuses me is why the JSON LS tests passed during the build of #306 but not for this change (or why they passed at all). |
5b579eb to
54479c3
Compare
|
I reverted #306 but left some of the language server updates that should be okay (eg. Angular) - this might cause problems however so it might be best to leave all language servers which aren't relevant to this patch alone. Also the XML test for |
If it cause problem, just ignore all other language servers, and upgrade only the dependencies that are necessary for ESLint to work.
This is because in your IDE/Launch Configuration, webtools XML editor is included and it takes priority of Generic Editor. On CI and in the Maven build, WebTools isn't part of the target-platform, so this shouldn't happen. |
This is enough of a reason for me to leave the other language servers unchanged.
Ok good to know - this is due to having m2e in the TP (related to XML LS work) |
|
Also do we need a version bump? Maybe +0.1.0? |
|
No, it should be fine for versions. The build is configured so that if we need a version bump, it should fail with an explicit error message. |
393113d to
e7979e7
Compare
Signed-off-by: Andrew Obuchowicz <[email protected]>
e7979e7 to
901f179
Compare
|
All tests are now passing. I had to do a +0.1.0 on the testing plugin for the build to be successful. |
|
@AObuchow I've added you as a cc. of CQ https://dev.eclipse.org/ipzilla/show_bug.cgi?id=21224 so you'll receive notifications. If this gets marked as fixed, then feel free to merge the patch whenever you think it's ready (I see a test failing, I'll retrigger to see it green). |
Ok sounds good.
I see that as well, I'm not sure why more tests are now failing when they were passing 2 builds ago (no code change IIRC). I'll have to investigate. |
|
@mickaelistria The latest build passed all tests. I guess the previous 2 builds failed due to timing issues. |
|
Despite the test failures on CI, I could test the testTSFile scenario locally from this commit (after a build and installation from p2 repo in a vanilla IDE) and see it work. Other failures seem to happen only sporadically. |
No description provided.