Open Bug 1554902 Opened 6 years ago Updated 3 years ago

Simplify devtools/client/webconsole/reducers/messages.js and remove eslint-disable complexity

Categories

(DevTools :: Console, task, P2)

task

Tracking

(Not tracked)

People

(Reporter: pbro, Unassigned)

References

(Blocks 1 open bug)

Details

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%2Fwebconsole%2Freducers%2Fmessages.js

Component: General → Console
Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.