Skip to content

Creating new React App brings in ESLint not noted in changelog #13044

@LauraAbCoronel

Description

@LauraAbCoronel

Describe the bug

Not sure if this is the right place
I'm creating a new react app using npm create vite@latest and selecting React and JavaScript. The starter files come with ESLint installed and a file .eslintrc.cjs. Before version 4.3 ESLint didn't come installed. I would expect ESLint to not come installed. This change wasn't even mentioned in the changelog.

Reproduction

https://stackblitz.com/edit/vitejs-vite-eqa4jz?file=vite.config.js

Steps to reproduce

Run npm create vite@latest. Then pick any project name. Select "React" as the framework. Lastly select JavaScript as the variant. And that's it.

System Info

System:
    OS: macOS 13.3.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 60.02 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.5.0 - /opt/homebrew/bin/node
    npm: 8.13.2 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 112.0.5615.137
    Safari: 16.4

Used Package Manager

npm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions