Top "Eslint-config-airbnb" questions

Use this tag for the NPM package that provides Airbnb's .eslintrc as an extensible shared config

react class method is not defined no-undef

I am new in react. My app was running properly, but after adding eslint(airbnb), my apps failed to compile. …

reactjs react-redux eslint eslint-config-airbnb
Eslint error, configuration for rule "import/no-cycle" is invalid

Running my lint script "lint": "eslint --ext .js .", gives me this error: Error: .eslintrc » eslint-config-airbnb » //node_modules/eslint-config-airbnb-base/index.js » //…

javascript react-native eslint eslint-config-airbnb
React Warning: Failed prop type: Invalid prop of type `Object` supplied

I am getting the warning "Warning: Failed prop type: Invalid prop of type Object supplied to , expected instance of bound …

reactjs eslint react-props react-proptypes eslint-config-airbnb
How to extend airbnb eslint but with warnings instead of errors?

I'm using airbnb's eslint with webpack like this: .eslintrc: { "extends": "airbnb" } webpack.config.js: ... module: { rules: [ { test: /\.js$/, use: ['babel-loader', …

webpack eslint eslint-config-airbnb
Prettier + eslint line breaks

I am using eslint with VSCode 1.18.1 and the prettier/prettier extension 0.26.0 for VSCode. In my VSCode config I have "prettier.…

visual-studio-code eslint prettier eslint-config-airbnb jsprettier