btholt / btholt/complete-intro-to-react-v6

prettier/react no longer needed in .eslintrc.json

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
202
PR merge metrics
No merged PRs in 30d

Description

When running `npm run lint` from the root of adopt-me, this error shows up:

**"Error: "prettier/react" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21"**

Removing `"prettier/react"` from extends list in `.eslintrc.json` fixes the problem.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with .eslintrc.json and inspect the extends list. Run npm run lint from the repository root, remove the obsolete prettier/react entry, and run the lint command again; done means the reported configuration error is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, javascript, react
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.