-
Notifications
You must be signed in to change notification settings - Fork 26.8k
Unmet peer dependency #1283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
* - Add redux-thunk - Move store configuration into separate file - Purge unused redux-devtools-* packages * Enable inline source maps * Remove unused import * Drop eslint-config-airbnb due to unmet peer dependencies See airbnb/javascript#1283 * Update ESLint to use recommended settings and react plugin * Add mocha: true to suppress undefined describe/it functions * - Rename store/configureStore to store/default - Add missing import for redux.compose * Print extension installation errors * - Add --no-ignore flag to suppress warnings for ignored files - Remove --format option * Add scripts to eslint
Please use the install command in the package readme; this will install the correct peer dependencies. |
By the way it worth mentioning, that NPM 3+ will not install peer dependencies for you. You need to explicitly declare them in your @ljharb why do you keep them as peers? The most common use case for the code-style will be |
@just-boris eslint requires that it work that way; if they're not peers, none of the rules will work or be overrideable. |
Do you mean the issue: eslint/eslint#3458? Thanks for explanation, now I understand why do I need to do so. |
@pronebird @just-boris @ljharb I still have problems to have the latest version working. I get this error message (in Atom) everytime I open a file: These are the packages I'm using:
This is my .eslintrc.js:
|
Are you sure the versions on disk are correct, and that you've restarted atom? What's |
Oh dear, yeah, restarting Atom fixed it 👍 |
I think we can close this issue since as it turned out peer deps have to be installed manually. Thanks for all help! |
@gazpachu that seems like eslint updated to catch an error it was missing before. I'd just fix your code. |
@ljharb I'm afraid that's not the case. If I remove the tab, I get this: And if I add the tab, I get this: And that's happening to all lines of all files :/ I've tried to remove the |
Do you use tabs or spaces for indentation? |
tabs |
In that case, you need to disable the |
npm i eslint-config-airbnb --save-dev
Why is it broken?
The text was updated successfully, but these errors were encountered: