Skip to content

Way to make dot in html attribute valid ? #100

@jphilung

Description

@jphilung

I am using alpine.js (https://alpinejs.dev/directives/on) which uses a dot modifier on some html attribute. This causes the prettier parser to fail because it's not a valid character.

Expected a valid attribute name, but instead found ".", which is not part of a valid attribute name.

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