From 058b25002d9198ac72c82019fdfabba3728870ae Mon Sep 17 00:00:00 2001 From: Pat Cavit Date: Fri, 20 May 2016 11:51:30 -0700 Subject: [PATCH] Linebreaks are hard, spacing isn't (#1062) Because linebreaks are affected by git's `core.autocrlf` rule and I don't feel like adding a `.gitattributes` file yet. --- .eslintrc.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 2951d0c6..1f0d3899 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -67,10 +67,12 @@ module.exports = { "init-declarations": "off", "jsx-quotes": "error", "key-spacing": "error", - "keyword-spacing": "off", - "linebreak-style": [ + "keyword-spacing": [ "error", - "unix" + { + "before": true, + "after": true + } ], "lines-around-comment": "error", "max-depth": "off",