solana-labs / eslint-plugin-require-extensions

Apache License 2.0
53 stars 6 forks source link

.jsx support? #11

Open slavafomin opened 1 year ago

slavafomin commented 1 year ago

Hello!

Thank you for this great library!

However, it seems that it doesn't treat the .jsx extensions right.

It replaces imports like: import { Component } from './component.jsx'; to import { Component } from './component.jsx.js'; which is obviously wrong.

Thanks!

SebastienGllmt commented 8 months ago

Looks like this is also the case with other variations like cjs