I have a script lint that runs eslint check under the src folder
And checks for files with extenstions: js,tsx,ts
But when I run next script I got error that pattern is not good:
Script:
"lint": "eslint '**/src/**/*.{ts,tsx,js}'",
Error after run yarn lint
No files matching the pattern "**/src/**/*.{ts,tsx,js}" were found.
Please check for typing mistakes in the pattern.
Does anyone know what is wrong with a pattern?