improve out of the box support for coffeescript #825
Labels
feature-request
Request for new features or functionality
help wanted
Issues identified as good community contribution opportunities
Milestone
Hi all,
there's now on
eslint
's (andprettier
's btw) ecosystem side proper support for coffeescript per @helixbass 's eslint-plugin-coffee and prettier-plugin-coffeescript ongoing (great) work.This is all good and things work out of the box mostly on
vscode-eslint
side almost fully except in one case - when an issue pops, when quickfixing it if one wants to disable affected line or next one (calls toeslint.{createDisable{,Same}LineTextEdit}
) the inserted comment (with hints toeslint
) is inserted with the wrong (from coffeescript's point of view) syntax, sincevscode-eslint
has (on https://github.com/microsoft/vscode-eslint/blob/master/server/src/eslintServer.ts#L1456-L1462) the comment style hardcoded.So, i'd plead you to refactor that part a bit so that the comment prefix (
//
in general vs#
for coffeescript dialects) would be infered from the actual language being linted and not just assumed unconditionally to be//
which in coffeescript's case is definitively not true.thanks in advance and keep the awesome work :-)
All the Best
António
The text was updated successfully, but these errors were encountered: