Got `npm install` Warnings When Use `eslint-config-airbnb-base`
See original GitHub issueI 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:
- Created 4 years ago
- Reactions:18
- Comments:21 (5 by maintainers)
Top 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 >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
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
andeslint-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.
@iamturns Sorry for the ping, but it has been one year, are there any update on this?