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
You use it by just adding this to the top of your JavaScript/TypeScript file:
import"zx/globals";
However, this line triggers the file-extension-in-import rule. I think that this rule is intended to apply to files in your local project, not to imports from 3rd-party packages. So, I think this is a false positive.
In the meantime before this bug is fixed, does anyone know if there is some way to use the rule options to work around this?
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
@scagood Thank you! That's fantastic, it looks like #32 takes care of it.
Looks like the PR has been sitting since August though. @aladdin-add Can you please take a look?
Environment
Consider
zx
, which is a Node.js library by Google to write scripts.You use it by just adding this to the top of your JavaScript/TypeScript file:
However, this line triggers the
file-extension-in-import
rule. I think that this rule is intended to apply to files in your local project, not to imports from 3rd-party packages. So, I think this is a false positive.In the meantime before this bug is fixed, does anyone know if there is some way to use the rule options to work around this?
Participation
The text was updated successfully, but these errors were encountered: