Specify "html" plugin in .eslintrc.js by default for better Editor integration
Categories
(Developer Infrastructure :: Lint and Formatting, enhancement, P2)
Tracking
(firefox69 fixed)
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 3•7 years ago
|
||
I'd love to work on this, but I havne't got time at the moment. We really could do with the SublimeLinter issue being fixed (or just ignore Sublime users).
| Assignee | ||
Comment 4•6 years ago
|
||
Having just looked at this again, and with the prettier changes coming up, I think we should actually fix this. Last I knew there's more developers on non-sublime than there are on sublime.
If we change the default to have html enabled in the configuration rather than via the ./mach command line, then VSCode and Atom will pick up HTML ESLinting automatically. Sublime will fail to lint the html files, but it will also not show any visible errors, so it doesn't really get in the way too much.
If Sublime users want to get this working, then they can add the selector line to their user config (or help fix the issue mentioned above).
{
"linters": {
"eslint": {
"selector": "source.js, text.html.basic, text.xml",
}
}
}
| Assignee | ||
Comment 5•6 years ago
|
||
This moves the html plugin enabling from the ./mach command line to the configuration, which means editors can pick this up automatically.
Comment 7•6 years ago
|
||
| bugherder | ||
Updated•3 years ago
|
Description
•