Closed
Bug 1995811
Opened 11 months ago
Closed 11 months ago
Enable ESLint rule jsdoc/multiline-blocks
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox146 fixed)
RESOLVED
FIXED
146 Branch
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The jsdoc/multiline-blocks rule can control if jsdoc comments are expressed as multi-line or single line. However, in the default mode it allows both, but has additional checks for ensuring that comments are not on the start or end lines of a block (noZeroLineText / noFinalLineText).
I'm proposing that we enable this, so that we have more consistency in our jsdoc comments. I think this also catches (or at least helps) some instances of jsdoc where it is hard for the jsdoc/no-multi-asterisks to auto-fix correctly.
| Assignee | ||
Comment 1•11 months ago
|
||
Pushed by mbanner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/32783c46e8ab
https://hg.mozilla.org/integration/autoland/rev/475bcfbc84da
Enable ESLint rule jsdoc/multiline-blocks. r=frontend-codestyle-reviewers,perftest-reviewers,sparky,nchevobbe,whimboo,Gijs
Comment 3•11 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox146:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•