11ty / 11ty/docs

Add prettier config

Open
#1,610 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nunjucks
Stars
547
Forks
726
Avg merge
2h 23m
Merged PRs (30d)
3

Description

There is a package script for formatting with prettier and it's installed as a dev dependency but there isn't a configuration file.
https://github.com/11ty/11ty-website/blob/ec71de462ea6a64d7c44fe2e0f73ac8f4e6c7931/package.json#L18
I can suggest my own configuration but I think it would be best for Zach to suggest one - they should be comfortable with whatever we choose!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the formatting script and Prettier dev dependency referenced in package.json. Confirm which configuration file format the project expects, then add the agreed configuration and verify that the existing formatting script uses it successfully; the specific style choices still need maintainer guidance.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.