Skip to content
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

Issues with existing razzle eslint. #970

Closed
Pixelatex opened this issue Apr 4, 2019 · 1 comment
Closed

Issues with existing razzle eslint. #970

Pixelatex opened this issue Apr 4, 2019 · 1 comment
Labels

Comments

@Pixelatex
Copy link

I'm loading my own config based on air-bnb,

However, I still get npm errors because I'm peer dependencies for eslint-config-react-app.

npm ERR! peer dep missing: babel-eslint@^7.2.3, required by eslint-config-react-app@2.1.0
npm ERR! peer dep missing: eslint@^4.1.1, required by eslint-config-react-app@2.1.0
npm ERR! peer dep missing: eslint-plugin-jsx-a11y@^5.1.1, required by eslint-config-react-app@2.1.0

I saw several tickets about eslint being removed but the error still occurs in my new setup.

Razzle version: ^2.4.1
Preset: afterjs

@Pixelatex
Copy link
Author

This is also causing issues with some jsx-a11y rules that don't exist yet in the older versions that razzle is loading. Removing the eslint files from the node_modules inside of the razzle node_module fixes it and allows it load my config as intended... This is however not a feasible workaround :/

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

No branches or pull requests

2 participants