Skip to content

Add support for Typescript configurations #177

@adriancuadrado

Description

@adriancuadrado

This issue is related to this one: #74

I thought it would be more appropriate to make this issue since it is more generic and also covers other configs such as next.config.ts.

From what I've seen in the code, we'd have to refactor the espree dependency to use something else that also supports typescript, or use some typescript ast together with espree.

Ok, it seems like we would only need to refactor the inject function here. And also add a test obviously.

And also add ts to SUPPORTED_FILE_EXTENSIONS.

You know what? I think I am going to work on this one, doesn't seem as hard as I thought.

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