Enable more ESLint rules for netwerk
Categories
(Core :: Networking, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
There's still a few rules that are disabled in netwerk that we want to enable. This will help with consistency with the rest of the tree, as well as helping to show up potential issues in new code.
Assignee | ||
Comment 1•1 year ago
|
||
Try push: https://treeherder.mozilla.org/jobs?repo=try&revision=9e8459ac2e1a6e4c140cc71fd8d46c19cc82ef20
The windows failures there appear to be bug 1775761.
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D153895
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D153896
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D153897
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D153898
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7e11b0d6e731 Enable ESLint rules for no-arbitrary-setTimeout, no-define-cc-etc and consistent-return on netwerk/. r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/cc2d5eaf69d2 Enable ESLint rules no-eval, no-nested-ternary, no-throw-literal for the rest of netwerk. r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/3523c3cede7d Enable ESLint rule no-redeclare on the rest of netwerk. r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/289d233f1266 Enable ESLint rule no-global-assign for the rest of netwerk. r=dragana,necko-reviewers
Comment 8•1 year ago
|
||
Backed for causing failures at test_origin.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/1875b970dc64011b8a0b093ed432d0117d9758cb
Failure log: https://treeherder.mozilla.org/logviewer?job_id=386673343&repo=autoland&lineNumber=5283
Assignee | ||
Comment 9•1 year ago
|
||
Bah, xpcshell-tests didn't run on my try push :( Will take a look and re-fix.
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7cc59ef5a163 Enable ESLint rules for no-arbitrary-setTimeout, no-define-cc-etc and consistent-return on netwerk/. r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/44754d53368c Enable ESLint rules no-eval, no-nested-ternary, no-throw-literal for the rest of netwerk. r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/2bca60bdf1d8 Enable ESLint rule no-redeclare on the rest of netwerk. r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/25a79e2dc30a Enable ESLint rule no-global-assign for the rest of netwerk. r=dragana,necko-reviewers https://hg.mozilla.org/integration/autoland/rev/4303f3ec286a Set ESLint rule no-shadow to warning for where it is turned on in netwerk. r=dragana
Assignee | ||
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
Pushed by ctuns@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f7ffff73891a Fix ESlint issue in netwerk/test/unit/head_servers.js due to consistent-return). CLOSED TREE
Comment 13•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7cc59ef5a163
https://hg.mozilla.org/mozilla-central/rev/44754d53368c
https://hg.mozilla.org/mozilla-central/rev/2bca60bdf1d8
https://hg.mozilla.org/mozilla-central/rev/25a79e2dc30a
https://hg.mozilla.org/mozilla-central/rev/4303f3ec286a
https://hg.mozilla.org/mozilla-central/rev/f7ffff73891a
Assignee | ||
Updated•1 year ago
|
Description
•