feat: 在 JS/TS 基础规范的变量命名规则中补充私有属性可使用下划线开头的说明
This commit is contained in:
@@ -131,6 +131,7 @@ class userinfo {
|
|||||||
> - severity `warn`
|
> - severity `warn`
|
||||||
|
|
||||||
- 需要注意的是从 require 导入的变量不受检查
|
- 需要注意的是从 require 导入的变量不受检查
|
||||||
|
- 私有属性可以使用 `_` 开头,比如 `this._fromFeatureRecommendEntry`
|
||||||
|
|
||||||
### Example: 变量命名
|
### Example: 变量命名
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user