turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Example lint script not working

Open steida opened this issue 1 year ago • 2 comments

What version of Turborepo are you using?

None

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Mac

Describe the Bug

"lint": "TIMING=1 eslint src/**/*.ts* --fix", does not lint files.

"lint": "TIMING=1 eslint 'src/**/*.ts*' --fix", does lint files.

https://stackoverflow.com/questions/54165756/eslint-glob-is-not-considering-all-directories-recursively

Expected Behavior

Should lint files.

To Reproduce

Just try it.

steida avatar Sep 06 '22 16:09 steida

"lint": "TIMING=1 eslint src --ext .ts,.tsx",

This is probably the best because it's not platform specific and it's recursive.

steida avatar Sep 06 '22 17:09 steida

Could you link to which example you're talking about?

mehulkar avatar Sep 08 '22 00:09 mehulkar