这是indexloc提供的服务,不要输入任何密码
Skip to content

Use import.meta.dirname #480

@misund

Description

@misund

In the eslint config, there's a weird construct for figuring out what the dirname is. We can probably use the dirname directly.

https://github.com/misund/get-contrast-ratio/blob/3b80b56/eslint.config.mjs#L8-L9

I just want to punt this past the current major cross-package ESM upgrade...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions