Skip to content

Request: Add typescript support #406

Open
@kayla-glick

Description

I'm working on an addition to insights-web (PR) that requires an upgrade to Chart.js 4. Chart.js 4 added typescript .d.ts definitions for various exported types. This breaks the GitHub eslint rules because the linter isn't able to resolve the imported types, despite everything compiling correctly. I was able to fix the linting by adding and configuring eslint-import-resolver-typescript to the project. I wanted to submit this issue here though because this seems like a better addition to estlint-plugin-github, that way we have org-wide TS linting support. There's also an alternative eslint-plugin-i package that claims to be faster than eslint-plugin-import.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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