Comments (6)
Did you add "lint": "eslint .", "lint:fix": "eslint . --fix"
to the scripts section of your package.json?
from eslint-config-wesbos.
I can confirm I'm having the same issue. Seems like eslint
isn't able to find the .eslintrc
file in the project root for whatever reason.
from eslint-config-wesbos.
It might be that the react-app/jest
config - try take it out and try again.
Also make sure you are running this in the root directory. sometimes if the parent has any eslint configs things get weird.
If you can post a reproduction, Ill take a lookski
from eslint-config-wesbos.
Thanks @wesbos, that did it! Removing react-app/jest
from eslintConfig
in my create-react-app project fixed it.
So now it looks like this:
"eslintConfig": { "extends": [ "react-app", "wesbos" ] },
from eslint-config-wesbos.
awesome - I was going to suggest that - put the other things first - mine will overwrite any duplicate properties
from eslint-config-wesbos.
closing this but let me know if you still have troubles
from eslint-config-wesbos.
Related Issues (20)
- no-use-before-define HOT 1
- Command returns ERR undefined with new updates dependencies HOT 3
- ERR undefined on Next.js HOT 2
- npm install fails on new Gatsby v4 HOT 2
- Deprecated dependencies HOT 1
- Parsing error: Cannot find module '@babel/preset-react' HOT 1
- Update readme.md for WSL HOT 1
- Investigate "Bundling" Eslint peer Deps HOT 6
- Switch instructions to using "prettier" config in package.json
- Add { "allowShortCircuit": true, "allowTernary": true } HOT 2
- prefer-arrow-callback
- @typescript-eslint/no-unused-expressions
- /*eslint no-unused-vars: ["error", { "destructuredArrayIgnorePattern": "^_" }]*/
- allow importing of `.js` files that resolve to `.ts` on filesystem
- VS Code: ESLint extension no longer supports `eslint.alwaysShowStatus` HOT 1
- stop double quote error
- @typescript-eslint/comma-dangle in .eslintrc.js HOT 1
- es lint command not found HOT 9
- Conflicting plug ins? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-config-wesbos.