-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Hello!
Thank you for this great library!
However, I can't really figure out how to configure it in ESM TypeScript React project.
I would like the ESLint to report (and autofix) missing .js and .jsx extensions, however, it forces me to use the .ts(x) extensions instead.
In other words I want:
import { Component } from './component' to be corrected to
import { Component } from './component.jsx'
import { util } from './util' to be corrected to
import { util } from './util.js'
import { Component } from './component.tsx' and
import { util } from './util.ts'
should raise error.
Thanks!
inglec-arista, manuel-mauky and karlhorky
Metadata
Metadata
Assignees
Labels
No labels