Replies: 2 comments 3 replies
-
Yeah this would be great to have. Are there any eslint rules (even from plugins) that cover this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ematipico Why was #4331 closed? There literally was a request to open a task for this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it make sense to have a rule that would check for the usage of __dirname? It doesn't work in ESM context, but is not easily caught by tests, as e. g.
vitest
injects__dirname
, so it works correctly there, but then fails in production.Beta Was this translation helpful? Give feedback.
All reactions