Skip to content

Detect misplaced equals sign #123

@Zash

Description

@Zash

Sometimes when you meant to write

local x = fun()

you might accidentally the equals sign and end up with

local x fun()

Since this is equivalent to local x; fun();, and thus perfectly legal, it can be hard to notice this mistake.

Perhaps this is something luacheck could point out?

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