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
Consider a case where context.getCwd() returns a path that ends in '/' then the statement will result in a path with '//' in it. This can easily be avoided by using path.join() instead.
The text was updated successfully, but these errors were encountered:
Problematic code is here: https://github.com/MelvinVermeer/eslint-plugin-no-relative-import-paths/blob/main/index.js#LL4
Consider a case where
context.getCwd()
returns a path that ends in '/' then the statement will result in a path with '//' in it. This can easily be avoided by using path.join() instead.The text was updated successfully, but these errors were encountered: