Closed as not planned
Description
Description
When I try eslint path/to/file/$something.foo it tries to resolve $something as an variable (I'm on Linux) and it becomes only path/to/file/.foo since variable does not exist. Is there any way how to resolve this issue? Specifically I'm using ESLint with lint-staged. I cannot properly escape the filename. Right now I am exporting variable with export something='$something', but that is far from ideal.
Do you have some workaround?
Steps to reproduce
Have some file with $
in its name and run lint-staged
on it.
Environment
- OS: Manjaro Gnome
- Node.js: 14.16.0
lint-staged
: 10.5.4
Metadata
Metadata
Assignees
Labels
No labels
Activity