-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P4area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-lint-proposaltype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Describe the rule you'd like to see implemented
I'm absolutely against avoiding the unnecessary usage of this, in-fact I'm the type of guy who wants to enforce it. The reason is simple: readability. I think it is very useful to immediately see if a variable comes from the function/global or class scope without inspecting it. Same goes to local and global functions. I'd like to enforce the usage of this whenever it is possible
I would call the rule enforce_unnecessary_this.
Thanks in advance.
vs-krasnov
Metadata
Metadata
Assignees
Labels
P4area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-lint-proposaltype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug