Top "Eslint-config-airbnb" questions

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

How do you disable no-plusplus when using eslint?

When using eslint in Visual Studio Code, AirBnB style Ubuntu Linux, no-plusplus is enabled as default so using ++ for example …

eslint eslint-config-airbnb
How to use ESLint TypeScript Airbnb configuration?

I try to install and use ESLint Airbnb configuration for TypeScript for several days and I cannot make it work. …

typescript eslint eslint-config-airbnb typescript-eslint
Eslint cannot read config file

I am setting up my first eslint. For some reason in other computers it works except on mine .. Im using …

javascript reactjs eslint eslint-config-airbnb
describe is not defined when installing jest

I installed jest v24.7.1in my project with: npm install jest -D Then I start writing some test files, However …

jestjs eslint eslint-config-airbnb eslintrc
Setting up Airbnb ESLint with React and Webpack

I am trying to set up linting with Airbnb's Javascript standards on my React project, it uses webpack. Updated with …

reactjs webpack eslint eslint-config-airbnb
ESLint React PropTypes, 'prop' is missing in prop validation

I have a stateless react component import React from 'react' import styled from 'styled-components'; import PropTypes from 'prop-types'; export default …

reactjs eslint react-proptypes eslint-config-airbnb
how to exclude css files from eslint parser in React

I need to exclude css files from the eslint parser. Currently when I run eslint src/** this is checking all …

reactjs eslint babeljs eslint-config-airbnb
Pass eslint html-has-for with htmlFor in React

I have a stateless React component that looks like this: const propTypes = exact({ fieldId: PropTypes.string.isRequired, text: PropTypes.string.…

javascript reactjs eslint eslint-config-airbnb
Line 5: 'tags' is missing in props validation react/prop-types

ESlint is giving me this warning when I am compiling my code. We are using the AirBNB config. import React …

javascript reactjs webpack eslint eslint-config-airbnb