yarn lint task broken
See original GitHub issueyarn lint
yarn run v1.22.4
$ eslint src/**/*.{js,jsx,ts,tsx}
Warning: React version was set to "detect" in eslint-plugin-react settings, but the "react" package is not installed. Assuming latest React version for linting.
Oops! Something went wrong! :(
ESLint: 6.8.0.
No files matching the pattern "src/**/*.jsx" were found.
Please check for typing mistakes in the pattern.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
lint-staged | Yarn - Package Manager
lint -staged GitHub Actions npm version Codecov. Run linters against staged git files and don't let :poop: slip into your code base!
Read more >lint-staged not running on precommit - Stack Overflow
husky-init is a one-time command to quickly initialize a project with husky. npx husky-init && npm install # npm npx husky-init && yarn...
Read more >Common React TypeScript ESLint / Lint Errors & Warning ...
This one can happen easily making a mistake and using the wrong event type. It won't create a compile-time error, but lint will...
Read more >Android Lint Checks - Android Studio Project Site
not be shipped until the issue is addressed, and lint will look for these. ... method will now override the Android method, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, what we have is valid.
I’ve been able to reproduce your issue, and have fixed the lint command by changing it to the following:
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
If that works for you too, I’ll make a quick PR to get this sorted.
According to eslint documentation It must be something like
This record work fine for me