smocean / eslint-zh

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

Better:docs/rules/accessor-pairs #51

Open DavidDong93 opened 8 years ago

DavidDong93 commented 8 years ago

[docs/rules/accessor-pairs] Rule Details 规则细则

DavidDong93 commented 8 years ago

By activating the option getWithoutSet\ it enforces the presence of a setter for every property which has a getter defined 通过激活 getWithoutSet 选项,该规则强制要求**为每个定义了 getter 的属性提供对应的 setter

DavidDong93 commented 8 years ago

Options 选项

DavidDong93 commented 8 years ago

Usage 使用

DavidDong93 commented 8 years ago

When Not To Use It 何时不使用该规则

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 下面的3个东西和Resources 下面的2个东西不知为何原因没有翻译。