Skip to content

Add info to docs on how to prevent using incorrect twMerge #259

Open
@dcastil

Description

@dcastil

When configuring tailwind-merge, one creates their own twMerge function to call. I should add a guide on how to prevent to accidentally use import { twMerge } from 'tailwind-merge' instead of import { twMerge } from 'src/my-own-tailwind-merge' and explain the ESLint rule I use for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    context-v1Related to tailwind-merge v1featureIs new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions