UNPKG

tslint-config-alloy

Version:
15 lines (14 loc) 303 B
{ "rules": { "no-this-assignment": [ true, { "allow-destructuring": true } ] }, "meta": { "category": "functionality", "description": "禁止将 `this` 赋值给其他变量,除非是解构赋值" } }