Open Bug 1513599 Opened 7 years ago Updated 5 years ago

Fix/enable ESLint 'react/destructuring-assignment'

Categories

(Tree Management :: Treeherder: Frontend, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: emorley, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Example failure shown by `yarn lint` after removing the rule-disabling from .eslintrc.js: error: Must use destructuring props assignment (react/destructuring-assignment) at ui\job-view\pushes\PushHeader.jsx:35:16: 33 | return ( 34 | <span title="View pushes by this user" className="push-author"> > 35 | <a href={props.url}>{authorEmail}</a> | ^ 36 | </span> 37 | ); 38 | }
No longer blocks: treeherder-react
Assignee: nobody → cdawson

I won't get to this anytime soon.

Assignee: cdawson → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: