Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #6818
Closed
Open
Issue created Apr 14, 2019 by Administrator@rootContributor

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

Created by: 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

Assignee
Assign to
Time tracking