Skip to content

feat(beta): format with prettier - #71

Open
vasfvitor wants to merge 3 commits into
CodeStitchOfficial:betafrom
vasfvitor:beta-format
Open

feat(beta): format with prettier#71
vasfvitor wants to merge 3 commits into
CodeStitchOfficial:betafrom
vasfvitor:beta-format

Conversation

@vasfvitor

Copy link
Copy Markdown
Contributor

de79871 are the actual changes

also added 737c22d but is only worth if we actually hook as a branch rule to only merge if it pass, this way we ensure every PR is formatted and the codebase doesn't drift. If not then I'll remove it from the PR. First apply the rule to the beta branch, then later to the main branch once this version get released

the formatting config is just the default, most changes are from removing tabs and normalizing EOL to LF. Either if we don't and default to tabs, there will be lots of changes from adding tabs, right now the repo is mixed tabs and spaces. Personally I'd keep useTabs false

btw the reason format the codebase is to make it easier to review a PR, as you can see the actual changes in this PR are very small, but since I formatted almost every file you get those 109 files changed, we just need to enforce formatting to avoid it drifting.

@netlify

netlify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploy Preview for advanced-astro-kit-i18n ready!

Name Link
🔨 Latest commit ad97bfd
🔍 Latest deploy log https://app.netlify.com/projects/advanced-astro-kit-i18n/deploys/6a889c36d7d4ca0008bd7320
😎 Deploy Preview https://deploy-preview-71--advanced-astro-kit-i18n.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@BuckyBuck135

Copy link
Copy Markdown
Collaborator

I'm not against using Prettier, but I've been having annoying conflicts when using different languages, different repos, some with, some without prettier.
I do think, however, that this is another step into an opinionated config, with extra packages, which we've been trying to keep to a neutral minimum.

Let's table this one for another time.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants