Skip to content

@tsconfig/node-lts-strictest should set "moduleResolution" to "node16" (instead of "node") #204

Open
@andreashuber69

Description

@andreashuber69

@tsconfig/node-lts-strictest currently sets "moduleResolution": "node" which does not make sense for node 12 and later, as documented under https://www.typescriptlang.org/tsconfig#moduleResolution. "moduleResolution": "node16" would be correct for an lts config.

P.S. Yes, @tsconfig/node-lts-strictest is deprecated and for good reasons. However, projects using eslint-plugin-import are unable to extend from an array of bases (see import-js/eslint-plugin-import#2751), which is why these projects are currently stuck with @tsconfig/node-lts-strictest. It would therefore be nice if this config could be maintained until extending from arrays of bases is supported by the wider ecosystem.

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