Steve Fuller
1 min readSep 9, 2020

--

Create React App already contains:

- "@typescript-eslint/eslint-plugin": "^3.3.0"

- "@typescript-eslint/parser": "^3.3.0"

https://github.com/facebook/create-react-app/blob/c8ea284ab38cd57d3fdffa16d21702fd02c4623b/packages/react-scripts/package.json#L34-L35

If you run `npm install @typescript-eslint/eslint-plugin @typescript-eslint/parser` it will install version 4.x which will cause issues out of the box it by declaring:

`'React' was used before it was defined @typescript-eslint/no-use-before-define` when running `npm start`

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Steve Fuller
Steve Fuller

Written by Steve Fuller

Front End Engineer that loves JavaScript, React, Redux, GraphQL, Node, and Boston Terriers

Responses (1)

Write a response