willowtreeapps / wist

A linter for BrightScript
Apache License 2.0
43 stars 11 forks source link

Add rule: disallow setFocus() to be called inside init() #99

Open cdthompson opened 6 years ago

cdthompson commented 6 years ago

setFocus() should not be called inside a SG node's init() function, since the node may be stealing focus from elsewhere in the app when it shouldn't