question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Got `npm install` Warnings When Use `eslint-config-airbnb-base`

See original GitHub issue

I got warnings when use eslint-config-airbnb-base (no React support).

npm WARN jest-websocket-mock@1.1.1 requires a peer of mock-socket@~8.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@17.1.0 requires a peer of eslint-plugin-jsx-a11y@^6.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@17.1.0 requires a peer of eslint-plugin-react@^7.11.0 but none is installed. You must install peer dependencies yourself.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:18
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

22reactions
iamturnscommented, Apr 20, 2019

Hey @iFwu - thanks for reporting this.

I need to convert this into a monorepo, and publish two npm packages to fix this issue. One package with React plugins, and the other “base” without React plugins (eslint-plugin-jsx-ally and eslint-plugin-react). This change will take some time. I’ll post back here when complete and let you know.

Sorry about that. In the meantime, you are safe to ignore the warnings, everything will still operate as expected.

10reactions
Zamiellcommented, Apr 13, 2020

@iamturns Sorry for the ping, but it has been one year, are there any update on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint installation warnings. Need Clarification - Stack Overflow
npm WARN eslint-config-airbnb-base@12.1.0 requires a peer of eslint@^4.9.0 but none is installed. You must install peer dependencies yourself.
Read more >
NPM install warning for AirBnB eslint profile - GitLab FOSS
This currently doesn't prevent eslint from functioning correctly, but it raises an annoying warning message on every run of npm install.
Read more >
eslint-config-airbnb-base - npm
Start using eslint-config-airbnb-base in your project by running `npm i ... use the shortcut described above if you have npm 5+ installed on ......
Read more >
eslint-config-airbnb-base-ts - npm
Yep! This config is just decorating eslint-config-airbnb-base with TypeScript support. I get this error when running ESLint: "The file must be ...
Read more >
got - npm
Install. npm install got. Warning: This package is native ESM and no longer ... You can also use Got v11 instead which is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found