Skip to content

Fixed version of ESLint in the react-scripts package causing issues #6818

Closed
@lffg

Description

@lffg

Is this a bug report?

Yes.

Did you try recovering your dependencies?

Yes.

Which terms did you search for in User Guide?

Not relevant.

Environment

Not relevant.

Steps to Reproduce

See this issue.

Expected Behavior

This error should not be happening.

Actual Behavior

There is an error because of the fixed ESLint version in the react-scripts package.

image

Question

Why does react-scripts keeps fixed versions of packages such as eslint in the dependency manifest? Why not just specify the major version, like eslint-config-react-app does (5.x, for example)?

https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/package.json#L40

Notice how eslint-config-react-app sets its ESLint version:
https://github.com/facebook/create-react-app/blob/master/packages/eslint-config-react-app/package.json#L17

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions