Skip to content

How can I disable no-unused-vars #12319

@mart-so

Description

@mart-so

How can I disable eslint's no-unused-vars in create-react-app? I tried changing the eslint config in package.json but it didn't work.

"eslintConfig": {
"rules": {
"no-unused-vars": "off"
}
}

And I tried tens of other changes and nothing works. I cant believe that this create-react app has this sh*it config by default

Metadata

Metadata

Assignees

No one assigned

    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