From 5539530e9d7b200a1ea3e3055747e04994f6dad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adria=CC=81n=20Quinta=CC=81s?= Date: Mon, 28 May 2018 14:50:55 +0200 Subject: [PATCH] Add rules for spacing --- index.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index b7817ef..cebad9f 100644 --- a/index.js +++ b/index.js @@ -71,6 +71,8 @@ module.exports = { "next": ["const"] }, ], + "key-spacing": "error", + "no-multi-spaces": "error", // React lint rules "react/jsx-no-bind": ["error", { "allowArrowFunctions": true, diff --git a/package.json b/package.json index c4f32d1..071bbfc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-orbit", - "version": "1.0.9", + "version": "1.0.10", "description": "Orbit (www.orbitdigital.com) rules for eslint", "main": "index.js", "scripts": {