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

Linting integration with monaco editor #330

@nikhilnxvverma1

Description

@nikhilnxvverma1

Hello I wanted to instantiate monaco editor in an "ambient context" such that no logical code is allowed(only type declarations). I couldn't find the right configuration in monaco for it. I was hoping dtslint would help but I can't figure out how to integrate it.

Its funny because VSCode itself uses monaco in an ambient context. I feel like am missing something obvious here.

I want to show red squiggles to the user whenever they are writing any prohibitive code in an ambient context. I am making a reflection system in typescript and I only want to consume typescript AST generated by the user as given in ambient context.

Thanks.

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