smocean / eslint-zh

ESLint 中文网站
http://eslint.cn
MIT License
21 stars 17 forks source link

Better:docs/rules/no-cond-assign #53

Open DavidDong93 opened 8 years ago

DavidDong93 commented 8 years ago

[docs/rules/no-cond-assign] Rule Details 规则详情

DavidDong93 commented 8 years ago

This option makes it possible to use common patterns, such as reassigning a value in the condition of a while or do...while loop, without causing a warning. 这个选项下,用户可以进行普通操作不会引起警告。例如在 while 或 do...while 循环的条件中重新分配一个值。

DavidDong93 commented 8 years ago

All assignments are treated as problems 所有的赋值都会被视为是有问题的

DavidDong93 commented 8 years ago

Further Reading 延伸阅读

DavidDong93 commented 8 years ago

Version 版本

DavidDong93 commented 8 years ago

Resources 资源

DavidDong93 commented 8 years ago

请注意,Further Reading 和Resources 下面的内容译者没有翻译。