From 18d9b9d8408dedb846282bb2261de71253df1461 Mon Sep 17 00:00:00 2001 From: Romoo Date: Tue, 19 Jan 2016 17:38:04 +0800 Subject: [PATCH] requireLeftStickedOperators no longer supported, change to disallowSpaceBeforeBinaryOperators --- .jscsrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.jscsrc b/.jscsrc index 0af013f..a3eed04 100644 --- a/.jscsrc +++ b/.jscsrc @@ -23,7 +23,11 @@ // 对象键值的 ":" 前「MUST NOT」使用空格 // `,` 和 `;` 前面不允许「MUST NOT」使用空格。 - "requireLeftStickedOperators": [ ":", ",", ";" ], + "disallowSpaceBeforeBinaryOperators": [ + ":", + ",", + ";" + ], // 二元运算符前后「MUST」使用空格 "requireSpaceBeforeBinaryOperators": [