Skip to content

how do I use .eslintrc for npm start and browser console linting #1948

@ToadJamb

Description

@ToadJamb

I am working on a react project that was created with create-react-app. We are using eslint and have added a few tweaks. However, it appears that the browser console (and npm start) use some other configuration. We are seeing warnings about things that do not matter and are 100% style choices. They are coming from eslint rules, but apparently not using our .eslintrc, as they do not show up when we run eslint against the project. How do I get npm start and the browser console to use .eslintrc.json so I can override those warnings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions