Closed dortamiguel closed 6 years ago
Maybe is related, why JS Custom doesn't appear here? I can only choose JS Custom through the command palette
I haven't used SublimeLinter myself, but it looks like version 4.0.0 (officially released this past week) uses a different method to associate syntaxes with linters rather than syntax_map
. I'm not sure, but I think that it should automatically work with JS Custom. Are you running version 4 yet?
Yes, I'm using latest sublimelinter
This is an issue with SublimeLinter-eslint. The fix was merged yesterday, but it's not in a release yet. You can patch it yourself by applying the following to your SublimeLinter.sublime-settings
:
// SublimeLinter Settings - User
{
"linters": {
"eslint": {
"selector": "source.js"
}
},
}
Fixed in SublimeLinter-eslint 4.0.3.
This is my syntax_map in sublimelinter config
I need to add JS Custom to this list but I don't know which name I should use it. Do you you how I can make it work?