From d8d74a018edc8ae446d9f050f9ce813f7582fbf0 Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Wed, 6 Jun 2018 15:33:46 +0800 Subject: [PATCH] Allows trailing commas in object literals --- rules/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/base.js b/rules/base.js index 5a77a3e..c5d58a2 100644 --- a/rules/base.js +++ b/rules/base.js @@ -10,7 +10,7 @@ module.exports = { 'class-methods-use-this': 0, 'comma-spacing': 2, 'comma-style': [2, 'last'], - 'comma-dangle': [2, 'never'], + 'comma-dangle': 0, 'consistent-return': 2, 'curly': [2, 'all'], 'default-case': 2,