Skip to content

Conversation

@flarnie
Copy link
Contributor

@flarnie flarnie commented Jun 14, 2017

what is the change?:
Added an eslintrc which disables the 'comma-dangle' rule just for
addons.

why make this change?:
To get CI passing again on the 15* branches.

We don't have dangling commas in the addons because it breaks GCC under
certain conditions. This doesn't affect React because we use Babel with
React, but it's not worth setting up Babel for the addons at this time.

test plan:
yarn lint

issue:
None - hopefully will fix this before it's a problem

**what is the change?:**
Added an `eslintrc` which disables the 'comma-dangle' rule just for
addons.

**why make this change?:**
To get CI passing again on the 15* branches.

We don't have dangling commas in the addons because it breaks GCC under
certain conditions. This doesn't affect React because we use Babel with
React, but it's not worth setting up Babel for the addons at this time.

**test plan:**
`yarn lint`

**issue:**
None - hopefully will fix this before it's a problem
@gaearon gaearon merged commit ae94ea7 into facebook:15.6-dev Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants