<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>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.</p>
<p>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.</p>
<p>With <a moz-do-not-send="true"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=1464007">the
configuration change</a>, HTML files will now be parsed by
VSCode and Atom (and possibly other editors).</p>
<p>The downside is that Sublime Text has its own parsing for HTML
files and <a moz-do-not-send="true"
href="https://github.com/SublimeLinter/SublimeLinter-eslint/issues/253">this
conflicts with ESLint's HTML plugin</a>.</p>
<p>If you want Sublime to keep working, you need to change your user
settings for the SublimeLinter plugin to include the selector
configuration below:</p>
<pre><code>{
"linters": {
"eslint": {
"selector": "source.js, text.html.basic, text.xml",
}
}
}
</code><code></code></pre>
<p>Mark<br>
</p>
</body>
</html>