Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.
This repository was archived by the owner on May 26, 2023. It is now read-only.

Add rule: limited "dot" chaining #98

@cdthompson

Description

@cdthompson

At some point, chaining objects with the . operator becomes dangerous and prone to runtime errors due to an intermedia object being invalid.

It'd be nice to warn against some threshold of chained operations, such as:

if m.object.child.child.child.field = true
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions