Skip to content

Is there a way to disable warnings about units? #137

@pie6k

Description

@pie6k

I know they should be there, I know the reason behind it, but I've got pretty large app and I don't want/can't codemod it right now. As I've got 100s of such components, it's making debugging pretty hard.

It would be great to have some flag to disable this warning.

image

Another solution could be grouping them and showing something like You've got 242 components without units

As this warning does not include stack trace for the single component - it's not really any more helpful than having one main warning (as I have to look for those manually anyway which is also quite annoying)

If it'd be Expected style "marginRight: 10" to contain units (src/ui/component.tsx) I could at least command-click it to solve it one by one ad-hoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions