Skip to content
Advertisement

Tag: eslint-config-airbnb

Getting warning in ‘eslint-plugin-react-settings’ while running eslint

Getting the: warning: React version specified in eslint-plugin-react-settings must be a valid semver version, or “detect”; got “latest”’ while running eslint. What is the reason behind this and how to resolve it? Screenshot of the issue Answer There will be an Object defined in your .eslintrc file as settings. And this error is saying that the version of react defined

How to remove ESlint error no-unresolved from importing ‘react’

no-unresolved https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md After installing eslint-import-resolver-webpack My .eslintrc config My package.json Webpack Answer You can add an option to ignore case: This thread at github also describes how the linter was checking case for parts of the path which come before the folder containing package.json. If you for example have the path: C:/Workspace/app and you navigate to it using cd C:/workspace/app

Advertisement