Simplify devtools/server/actors/object.js and remove eslint-disable complexity
Categories
(DevTools :: Debugger, task, P5)
Tracking
(firefox101 fixed)
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: pbro, Assigned: F3n67u, NeedInfo)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
This file contains a special eslint comment to temporarily disable the complexity eslint rule since it contains one or more functions that exceed the maximum complexity threshold. The code should be simplified, and the comment removed. Link to the code in question: https://searchfox.org/mozilla-central/search?q=eslint-disable+complexity&case=false®exp=false&path=devtools%2Fserver%2Factors%2Fobject.js
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Hi, can I please work on this?
temporarily disable the complexity eslint
Also, how can I check if the complexity of eslint is not difficult.
Thanks
I've checked that eslint-disable complexity is not being used anymore, but eslint-disable-next-line complexity is, so is this issue still open? Can I work on it?
Reporter | ||
Comment 3•4 years ago
|
||
You are right, the eslint flag was changed after I opened this bug.
The correct link to the code should now be https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/server/actors/object.js#419
This issue is still open and you are more than welcome to work on it!
I'm assigning it to you now. Please do take a look at our contribution documentation if you haven't done so yet: https://docs.firefox-dev.tools
Comment 4•4 years ago
|
||
Mari, are you still interested in this bug? Do you need any help?
Comment 5•3 years ago
|
||
This good-first-bug hasn't had any activity for 6 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Comment 6•3 years ago
|
||
Hi Jan, can I work on it? This seems to be something within my reach.
Comment 7•3 years ago
|
||
Assigned to you, thank you.
Honza
Comment 8•3 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Comment 10•2 years ago
|
||
Yes, please. Assigned to you.
Honza
Comment 11•2 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 12•2 years ago
|
||
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c0c2b6a07153 Simplify devtools/server/actors/object.js and remove eslint-disable complexity r=jdescottes
Assignee | ||
Comment 14•2 years ago
|
||
Hi Jan, I already landed a patch. please closed this bug.
Updated•2 years ago
|
Comment 15•2 years ago
|
||
bugherder |
Description
•