Visitar URL original
Prettier Configuration · Issue #234 · 11ty/webc · GitHub
Skip to content

Prettier Configuration #234

Open
Open

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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