Closed Bug 1185454 Opened 9 years ago Closed 9 years ago

Fix eslint issue revealed in eslint 0.24.1 and upgrade eslint-plugin-react to 2.7.1

Categories

(Hello (Loop) :: Client, defect)

defect
Not set
normal
Points:
1

Tracking

(firefox42 fixed)

RESOLVED FIXED
mozilla42
Iteration:
42.2 - Jul 27
Tracking Status
firefox42 --- fixed
backlog tech-debt

People

(Reporter: standard8, Assigned: standard8)

Details

(Whiteboard: [tech-debt])

Attachments

(1 file)

Here's the release notes:

http://eslint.org/blog/2015/07/eslint-0.24.1-released/
https://github.com/yannickcr/eslint-plugin-react/releases

The 0.24.1 release picks up an additional comma-dangle issue.

eslint-plugin-react has a couple of new rules, but I don't think we want to use either of them (at least in their current form). The upgrade for the plugin though does add support for the eslint 1.0.0 code, which helps with testing the rc releases.
Flags: firefox-backlog+
Comment on attachment 8635950 [details] [diff] [review]
Fix eslint issue for Loop revealed in eslint 0.24.1, and upgrade the react plugin for eslint version to 2.7.1

Review of attachment 8635950 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/components/loop/.eslintrc
@@ +76,5 @@
>      "react/no-unknown-property": 2,
>      "react/prop-types": 2,
>      "react/self-closing-comp": 2,
>      "react/wrap-multilines": 2,
> +    // We would probably want to go with a variant of never

nit: missing dot.
Attachment #8635950 - Flags: review?(mdeboer) → review+
https://hg.mozilla.org/mozilla-central/rev/388d01dba6c3
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: