Magluf
1 min readAug 25, 2020

--

For anyone having issues regarding the eslint version, it's due to the fact that the create-react-app cli still uses version 6.6.0 and following the second command in this tutorial (npx install-peerdeps --dev eslint-config-airbnb) will install eslint version 7.2.0.

You can install the needed packages for this article with the following command, which won't mess with your dependency tree:

yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-airbnb-typescript@6.3.2 eslint-plugin-jest eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react-hooks eslint-plugin-react prettier eslint-config-prettier eslint-plugin-prettier

Also, create-react-app v4 is in development and will update its ESLint to v7 (https://github.com/facebook/create-react-app/milestone/69).

--

--