Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow linting of typescript with module resolution set to node16 or nodenext #527

Merged
merged 1 commit into from May 24, 2023

Commits on May 17, 2023

  1. fix: Allow linting of typescript with module resolution set to `node1…

    …6` or `nodenext`
    
    Node16 module resolution with Typescript requires every relative import to have
    a file extension, but Typescript does not allow `.ts` so you have to use `.js`.
    As this file obviously does not exist on build time, but only after it has been created
    ESLint will complain about an unresolved import. Fixing it by using a different resolver for this.
    
    Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
    susnux committed May 17, 2023
    Configuration menu
    Copy the full SHA
    6cd3e55 View commit details
    Browse the repository at this point in the history