Derived from the refurb linter.
This rule is unstable and in preview. The
--preview flag is required for use.
What it does#
Checks for current-directory lookups using
Why is this bad?#
When looking up the current directory, prefer
Path.cwd() is more explicit in its intent.