tl;dr We've changed ESLint's configuration to enable HTML parsing by
default for better editor integration. Sublime Text users will need to
change configuration.
Up until now the ESLint configuration in mozilla-central has been with
the html plugin not enabled, but to enable it when `./mach eslint` is
run. The main effect of this is that editors that automatically run
linters, HTML files would not be checked.
With the configuration change
<https://bugzilla.mozilla.org/show_bug.cgi?id=1464007>, HTML files will
now be parsed by VSCode and Atom (and possibly other editors).
The downside is that Sublime Text has its own parsing for HTML files and
this conflicts with ESLint's HTML plugin
<https://github.com/SublimeLinter/SublimeLinter-eslint/issues/253>.
If you want Sublime to keep working, you need to change your user
settings for the SublimeLinter plugin to include the selector
configuration below:
|{ "linters": { "eslint": { "selector": "source.js, text.html.basic,
text.xml", } } } |||
Mark
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform