Using Route Groups makes bash unhappy (glob)
Unanswered
Black carp posted this in #help-forum
Black carpOP
Is there any magic that I may be missing to make bash glob when running eslint or any other script not complaint about route groups for having what is considered special characters such as “(“ and “)”?
Getting this error using ESLint or Prettier or Vitest:
I’ve been pulling my hairs out for hours on this.
Getting this error using ESLint or Prettier or Vitest:
/bin/bash: -c: line 0: syntax error near unexpected token ('I’ve been pulling my hairs out for hours on this.
2 Replies
@Black carp Is there any magic that I may be missing to make bash glob when running eslint or any other script not complaint about route groups for having what is considered special characters such as “(“ and “)”?
Getting this error using ESLint or Prettier or Vitest: `/bin/bash: -c: line 0: syntax error near unexpected token ('`
I’ve been pulling my hairs out for hours on this.
How are you running prettier/eslint? I never had any issues, I just use
.Black carpOP
yes, for some reason eslint or prettier with a dot is throwing that error