Closed Bug 1554914 Opened 5 years ago Closed 2 years ago

Simplify devtools/server/actors/object.js and remove eslint-disable complexity

Categories

(DevTools :: Debugger, task, P5)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
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&regexp=false&path=devtools%2Fserver%2Factors%2Fobject.js

Component: General → Debugger
Keywords: good-first-bug
Priority: -- → P5

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?

Flags: needinfo?(pbrosset)

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

Assignee: nobody → mari.zangue
Status: NEW → ASSIGNED
Flags: needinfo?(pbrosset)

Mari, are you still interested in this bug? Do you need any help?

Flags: needinfo?(mari.zangue)

This good-first-bug hasn't had any activity for 6 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: mari.zangue → nobody
Status: ASSIGNED → NEW

Hi Jan, can I work on it? This seems to be something within my reach.

Assigned to you, thank you.

Honza

Assignee: nobody → anurag.kalia
Status: NEW → ASSIGNED

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: anurag.kalia → nobody
Status: ASSIGNED → NEW

Can I work on it?

Yes, please. Assigned to you.
Honza

Assignee: nobody → hovakimianshushanik
Status: NEW → ASSIGNED

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: hovakimianshushanik → nobody
Status: ASSIGNED → NEW
Assignee: nobody → F3n67u
Status: NEW → ASSIGNED
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

Hi Jan, I already landed a patch. please closed this bug.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: