Linter: Warn about mixed `self` and local object name
Open
linter
- Dominant language
- Go
- Stars
- 1.8k
- Forks
- 263
- PR merge metrics
- No merged PRs in 30d
Description
Ok: `{ local mything = self, x: 1, y: mything.x, wrapped: { z: mything.x } }`
Not ok: `{ local mything = self, x: 1, y: self.x, wrapped: { z: mything.x } }`
Ok: `local obj = { a: obj.sth, b:obj.sth }`
Not ok: `local obj = { a: obj.sth, b:self.sth }`
Contributor guide
Assessment
This issue has not been assessed yet.