DEV Community

Discussion on: Just My Type: Rolling a fresh TypeScript project with Jest, ESLint and Prettier in 2019

Collapse
 
tkdmzq profile image
TKDMzq

Im not martin but maybe your shell treats it like special characters. Try escape those.

Collapse
 
rcoundon profile image
Ross Coundon

Ah ha - changing from

"lint": "eslint --fix ./src/*"

to

"lint": "eslint --fix './src/*/'"

sorted it. Cheers

(I use zsh)

Thread Thread
 
martingaston profile image
Martin Gaston

Hey Ross! Really sorry I missed your comment but glad you got it sorted out - I think escaping it is definitely the way to go, apologies for missing that out in my post.

I will update accordingly, I massively appreciate you letting me know!