You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
The text was updated successfully, but these errors were encountered:
andreashuber69
changed the title
@tsconfig/node-lts-strictest should set "moduleResolution" to "node16" (instead of node)
@tsconfig/node-lts-strictest should set "moduleResolution" to "node16" (instead of "node")
Jul 11, 2023
I respect it, but this is just one of many side-projects I maintain in my free time and I want to be maintaining things which makes sense to be deprecated as little as possible
@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 usingeslint-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.The text was updated successfully, but these errors were encountered: