Skip to content

no-debug also affects console.debug() #327

Closed
@srittau

Description

@srittau

The testing-library/no-debug test also warns about using console.debug(), although there is a separate built-in test for that: no-console. I would like to allow console.debug() statements (our config contains "no-console": ["error", {"allow": ["debug", "warn", "error"]}]), but still keep testing-library/no-debug enabled for testing-library debug statements.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleased

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions