Skip to content

Should flag outer function even if inner function uses this #39

@andersk

Description

@andersk

Currently no violations are flagged for function f() { function g() { return this; } }. We should fix this to const f = () => { function g() { return this; } };.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions