Skip to content

Rule to disallow inline object types #939

@cobaltt7

Description

@cobaltt7

Motivation

I want to restrict using @type {{ foo: bar}} and instead use @typedef comments with descriptions.

Current behavior

Not implemented AFAIK.

Desired behavior

A new rule. This could also have an option for a minimum amount of properties before it reports an error.

Alternatives considered

This could maybe be part of check-types.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions