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.

Error on windows eslint airbnb react - Webstorm

See original GitHub issue

I have been trying to use your package eslint-config-airbnb with Webstorm following your guide from the README but I keep getting this error.

...npm\node_modules\eslint-config-airbnb\rules\react-a11y.js: Configuration for rule "jsx-a11y/anchor-has-content" is invalid: Value {"components":[]} should be string. Value {"components":[]} should be array. Value {"components":[]} should match exactly one schema in oneOf.

How can I solve this error? I’m using all updated packages for eslint and for your config.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
tobslobcommented, Jan 2, 2019

Hello @Giorat please can you post the steps and command you used in solving this issue… I am having same error whenever i run “npm test”

0reactions
peteclark3commented, Jan 24, 2019

Solved by removing it and install “npm install --only=dev eslint@4.14.0”

@Giorat removing what specifically?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESLint | WebStorm Documentation - JetBrains
WebStorm shows warnings and errors reported by ESLint right in the editor, as you type. With ESLint, you can also use JavaScript Standard ......
Read more >
ESLint configuration error at WebStorm (React project)
I have an issue while connecting ESLint airbnb configuration to my React App. I have already tried to remove package-lock.json, ...
Read more >
linebreak-style - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
How to set up ESLint with Airbnb JavaScript Style Guide in ...
The following command will add ESLint and the Airbnb JavaScript Style ... WebStorm will now show you warnings in yellow, and errors in...
Read more >
WebStorm Setup - Prettier
JetBrains IDEs (WebStorm, IntelliJ IDEA, PyCharm, etc.) ... (Opt+Shift+Cmd+P on macOS or Alt+Shift+Ctrl+P on Windows and Linux) to format the selected code, ...
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