Skip to content

Catch usages of "this" in bindings #182

@JoshMcCullough

Description

@JoshMcCullough

Either by copy/paste or unintentional manual entry, I've caught myself a few times doing something like this...

<a href.bind="this.something.url">...</a>
              ^^^^

... instead of ...

<a href.bind="something.url">...</a>

It'd be great if the linter could find instances of this within bindings and throw a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions