You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
It like eslint:
no-plusplus: ["error", { "allowForLoopAfterthoughts": true }]
Resean:
1、Because the unary ++ and -- operators are subject to automatic semicolon insertion, differences in whitespace can change the semantics of source code.
2、a++ or ++a is difficult to understand sometimes.
It like eslint:
no-plusplus: ["error", { "allowForLoopAfterthoughts": true }]
Resean:
1、Because the unary ++ and -- operators are subject to automatic semicolon insertion, differences in whitespace can change the semantics of source code.
2、
a++
or++a
is difficult to understand sometimes.Refrence:
EN: resean-1
http://eslint.cn/docs/rules/no-plusplus
CN: resean-2
http://www.yinwang.org/blog-cn/2013/03/15/language-design-mistake1
The text was updated successfully, but these errors were encountered: