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
The n/no-unsupported-features/node-builtins rule reports when require.resolve() is not available, but does not report import.meta.resolve().
I would like a rule that reports when import.meta.resolve() is not available.
What type of rule is this?
Warns about a potential problem
Example code
import.meta.resolve();// Reports if it is not available for the specified Node version.import.meta.filename;// Reports if it is not available for the specified Node version.import.meta.dirname;// Reports if it is not available for the specified Node version.
Participation
I am willing to submit a pull request to implement this rule.
Additional comments
No response
The text was updated successfully, but these errors were encountered:
Rule details
The
n/no-unsupported-features/node-builtins
rule reports whenrequire.resolve()
is not available, but does not reportimport.meta.resolve()
.I would like a rule that reports when
import.meta.resolve()
is not available.What type of rule is this?
Warns about a potential problem
Example code
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: