ESLint configuration file for woring with react on typescript with airbnb guide. Conflicts are being fixed
Make sure you have been installed react and ESLint you your computer.
Turn off eslint in compilation:
ESLINT_NO_DEV_ERRORS=true react-scripts start
For disable eslint:
DISABLE_ESLINT_PLUGIN=true
Copy the .eslintrc.json
file in your root folder
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-airbnb eslint-config-airbnb-typescript eslint-plugin-jest eslint-plugin-jsx-a11y
npm install --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-airbnb eslint-config-airbnb-typescript eslint-plugin-jest eslint-plugin-jsx-a11y