Enable ESLint no-octal rule on dom/
Categories
(Core :: DOM: Core & HTML, task, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: standard8, Assigned: msub2, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
Octal sequences of the style 0644
are deprecated in Javascript, and in strict mode are parsing errors.
We still have a few cases in dom/ that the no-octal rule picks up.
Therefore we want to replace those. For example, 0644
can be replaced by 0o644
.
To enable the no-octal rules in these directories, remove the three lines in the top-level .eslintrc.js: https://searchfox.org/mozilla-central/rev/12770bd668c0a6bdaa8eb96ad9507c6febe8d23d/.eslintrc.js#288,373,448
ESLint can be run with: ./mach eslint dom
.
For instructions on how to get your local build of Firefox up and running and submit your patch, see https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Note this bug will be auto-assigned when the first patch is attached.
Updated•3 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
I just landed the docshell part in bug 1727591
Reporter | ||
Comment 3•3 years ago
|
||
Sure, no-one else has started yet, as I said in comment 0, this will be auto-assigned when the first patch is attached.
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
bugherder |
Description
•