TS lint 不允许前导下划线
TS lint disallow leading underscore
是否有禁止前导下划线的规则?
我只知道这个规则,允许这些。
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
There is a rule for disallow leading underscore
启用check-format
,不启用 allow-leading-underscore
,默认禁用
更多
是否有禁止前导下划线的规则?
我只知道这个规则,允许这些。
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
There is a rule for disallow leading underscore
启用check-format
,不启用 allow-leading-underscore
,默认禁用