From 1ce807d5de5bc72d35d135d3163ea5bf7ad46e26 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Mon, 20 Feb 2017 17:14:45 +0100 Subject: [PATCH] Enable key-spacing and no-multi-spaces (babel/eslint-config-babel#18) Fixes babel/eslint-config-babel#16 --- eslint/babel-eslint-config-internal/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint/babel-eslint-config-internal/index.js b/eslint/babel-eslint-config-internal/index.js index 71f03ee39d..f014d6bc53 100644 --- a/eslint/babel-eslint-config-internal/index.js +++ b/eslint/babel-eslint-config-internal/index.js @@ -27,7 +27,7 @@ module.exports = { } }], "linebreak-style": ["error", "unix"], - "key-spacing": "off", + "key-spacing": "error", "keyword-spacing": "error", "max-len": ["error", 110, 2], "new-cap": "off", @@ -40,7 +40,7 @@ module.exports = { "no-empty": "off", "no-fallthrough": "off", "no-inner-declarations": "off", - "no-multi-spaces": "off", + "no-multi-spaces": "error", "no-labels": "off", "no-loop-func": "off", "no-process-exit": "off",