Closed Bug 1554875 Opened 8 months ago Closed 6 months ago

Simplify devtools/client/inspector/markup/markup.js and remove eslint-disable complexity

Categories

(DevTools :: Inspector, task, P3)

task

Tracking

(firefox70 fixed)

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: pbro, Assigned: arunmohandm)

References

(Blocks 1 open bug)

Details

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%2Fclient%2Finspector%2Fmarkup%2Fmarkup.js

Component: General → Inspector
Priority: -- → P3
Pushed by aciure@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e3e96412fd9
Refactor _onShortcut method to remove disabled complexity eslint rule. r=pbro
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Assignee: nobody → arunmohandm
You need to log in before you can comment on or make changes to this bug.