prettier on lint-staged throws an error with files starting with $, have you handled that?
I know It's not an error caused by the router, but I'd love to hear if you have found any workaround to make this work.
In short, tokens starting with $ are removed so
In short, tokens starting with $ are removed so
src/routes/$id.tsx is parsed as src/routes/.tsx which obviously does not exist and prettier can't find it