Skip to content

Commit

Permalink
requireLeftStickedOperators no longer supported, change to disallowSp…
Browse files Browse the repository at this point in the history
…aceBeforeBinaryOperators
  • Loading branch information
romoo committed Jan 19, 2016
1 parent 464069c commit 18d9b9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@

// 对象键值的 ":" 前「MUST NOT」使用空格
// `,` 和 `;` 前面不允许「MUST NOT」使用空格。
"requireLeftStickedOperators": [ ":", ",", ";" ],
"disallowSpaceBeforeBinaryOperators": [
":",
",",
";"
],

// 二元运算符前后「MUST」使用空格
"requireSpaceBeforeBinaryOperators": [
Expand Down

0 comments on commit 18d9b9d

Please sign in to comment.