From a5738ada6bfbf8d18ff8b06f677ee4584268b41e Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Thu, 31 Mar 2016 19:05:03 +0800 Subject: [PATCH] enforce eslint space-infix-ops --- .eslintrc.json | 1 + tests/minifier.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9445cb5..c809c97 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -79,6 +79,7 @@ "semi": "error", "semi-spacing": "error", "space-before-blocks": "error", + "space-infix-ops": "error", "space-unary-ops": "error", "space-in-parens": "error", "spaced-comment": [ diff --git a/tests/minifier.js b/tests/minifier.js index 882b2cf..556c4d4 100644 --- a/tests/minifier.js +++ b/tests/minifier.js @@ -959,7 +959,7 @@ test('collapsing whitespace', function() { '
       \r\nxxxx<\/pre>x<\/span> Hello<\/span> billy<\/b>     \r\n' +
           '\r\n' +
-- 
2.34.1