Skip to content

Syntax checking / linting for console expressions #1265

@outoftime

Description

@outoftime

If the coder types an expression into the console that is not syntactically valid, we should recognize that and provide good, human-readable feedback rather than sending it to the preview frame be evaluated and throw a generic syntax error.

We can probably also do some very light linting here, probably a small subset of the rules we use for linting project JavaScript code.

Very closely related to #1264

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions