mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
committed by
Dan Abramov
parent
2ddff2e339
commit
ae94ea76f9
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"comma-dangle": 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user