Skip to content

Prettier Configuration #234

@caseywatts

Description

@caseywatts

I've got prettier set up to lint my .webc files in my own project using this configuration

.prettierrc.json

{
  "overrides": [
    {
      "files": "*.webc",
      "options": {
        "parser": "html"
      }
    }
  ]
}

We could make this easier for folks to get set up with, maybe in one of these ways:

  1. Contribute this to the Prettier project as a default setting?
  2. Automatically add this to prettier config for new projects?
  3. Add instructions to the documentation website for webc with this as a setup tip?

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