wesbos / eslint-config-wesbos

No-Sweat™ Eslint and Prettier Setup - with or without VS Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

allow importing of `.js` files that resolve to `.ts` on filesystem

wesbos opened this issue · comments

Typescript compiled to Node.js ESM requires import { thing } from 'thing.js' even though the path is really thing.ts.

eslint gets mad at this. Something to do with this: https://github.com/import-js/eslint-plugin-import#typescript