From a756bc868fd4dfa5512d782fc5d3f011b9613792 Mon Sep 17 00:00:00 2001 From: JoelEinbinder Date: Wed, 23 Aug 2017 11:56:59 -0700 Subject: [PATCH] Don't complain about Windows line endings on Windows (#496) --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index e2cd345e..028bb1b1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -103,7 +103,7 @@ module.exports = { "no-multiple-empty-lines": [2, {"max": 2}], "no-mixed-spaces-and-tabs": 2, "no-trailing-spaces": 2, - "linebreak-style": [ 2, "unix" ], + "linebreak-style": [ process.platform === "win32" ? 0 : 2, "unix" ], "indent": [2, 2, { "SwitchCase": 1, "CallExpression": {"arguments": 2}, "MemberExpression": 2 }], "key-spacing": [2, { "beforeColon": false