Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

eslint-config-sevenval peer dependencies #4

Closed
fabianmebus opened this issue Oct 26, 2018 · 0 comments
Closed

eslint-config-sevenval peer dependencies #4

fabianmebus opened this issue Oct 26, 2018 · 0 comments
Assignees

Comments

@fabianmebus
Copy link
Collaborator

Installation as documented:

$ npm install --save-dev eslint eslint-config-sevenval
npm notice created a lockfile as package-lock.json. You should commit this file.
  npm WARN eslint-config-react-app@3.0.4 requires a peer of babel-eslint@9.x but none is installed. You must install peer dependencies yourself.

+ eslint@5.7.0
+ eslint-config-sevenval@4.0.0
added 207 packages from 142 contributors and audited 451 packages in 20.981s
found 0 vulnerabilities

It is not possible to lint your files with this config without having the peer dependencies installed:

$ eslint foo.js
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration.

I guess it is a good idea to remove the peer dependencies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants