Skip to content

Commit

Permalink
Disable 'comma-dangle' eslint rule for './addons' (#9965)
Browse files Browse the repository at this point in the history
**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
  • Loading branch information
flarnie authored and gaearon committed Jun 14, 2017
1 parent 2ddff2e commit ae94ea7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addons/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"comma-dangle": 0
}
}

0 comments on commit ae94ea7

Please sign in to comment.