Skip to content

[feature-request] Frontend engine should scan plain .ts modules, not only .vue #444

Description

@jessegall

Proposal:
Vue\Codebase::scan only parses .vue files (plus standalone .ts for TYPE declarations). A codebase whose client is plain TypeScript modules — exported functions, consts, classes — cannot be judged at all by a frontend detector. I wanted a naming rule (identifiers that read as English clauses) to apply to resources/js the same way it applies to src, and there is no selector that reaches a function or const declared in a .ts module. Hand-rolling a regex over the source is exactly what the writing-detectors skill forbids, so the rule simply cannot be written today.

Filed via commandments feature-request from a consumer project.

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