Disable 'comma-dangle' eslint rule for './addons' (#9965)

**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
This commit is contained in:
Flarnie Marchan
2017-06-14 22:13:59 +01:00
committed by Dan Abramov
parent 2ddff2e339
commit ae94ea76f9
+5
View File
@@ -0,0 +1,5 @@
{
"rules": {
"comma-dangle": 0
}
}