Don't complain about Windows line endings on Windows (#496)

This commit is contained in:
JoelEinbinder 2017-08-23 11:56:59 -07:00 committed by Andrey Lushnikov
parent ac109dba6d
commit a756bc868f

View File

@ -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