From ae94ea76f9a7bddf9923b9ee5e58c4aa37ba7ca4 Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Wed, 14 Jun 2017 14:13:59 -0700 Subject: [PATCH] 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 --- addons/.eslintrc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 addons/.eslintrc diff --git a/addons/.eslintrc b/addons/.eslintrc new file mode 100644 index 0000000000000..4837c85257b3f --- /dev/null +++ b/addons/.eslintrc @@ -0,0 +1,5 @@ +{ + "rules": { + "comma-dangle": 0 + } +}