Skip to content

Conversation

ovflowd
Copy link
Member

@ovflowd ovflowd commented Nov 22, 2024

This PR realigns all index.mdx files from all languages. Note that there might be other MDX files with discrepancies too 🤷

@ovflowd ovflowd requested a review from a team as a code owner November 22, 2024 15:06
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Nov 22, 2024 3:10pm

This comment has been minimized.

@ovflowd
Copy link
Member Author

ovflowd commented Nov 22, 2024

Requesting fast-tracking! cc @nodejs/nodejs-website

Copy link
Contributor

github-actions bot commented Nov 22, 2024

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 99 🟢 100 🟢 100 🟢 92 🔗
/en/download 🟢 97 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

Copy link
Contributor

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 92%
90.79% (631/695) 72.44% (184/254) 94.53% (121/128)

Unit Test Report

Tests Skipped Failures Errors Time
143 0 💤 0 ❌ 0 🔥 5.541s ⏱️

@bmuenzenmeyer
Copy link
Collaborator

@ovflowd if these were passing lint before, is that indicative that we were not linting/formatting them, or ???

i dont want another crowdin sync to clobber all this, or rather, if the whitespace is unimportant, why fix it

@ovflowd
Copy link
Member Author

ovflowd commented Nov 22, 2024

@ovflowd if these were passing lint before, is that indicative that we were not linting/formatting them, or ???

i dont want another crowdin sync to clobber all this, or rather, if the whitespace is unimportant, why fix it

This has nothing to do with linting. It is a prettier bug. Linting-wise both are valid.

@ovflowd
Copy link
Member Author

ovflowd commented Nov 22, 2024

i dont want another crowdin sync to clobber all this, or rather, if the whitespace is unimportant, why fix it

🤷 -- afaik my changes will override that.

@bmuenzenmeyer
Copy link
Collaborator

interesting, we call prettier directly within https://github.com/nodejs/nodejs.org/blob/main/.github/workflows/translations-pr.yml#L116-L119 instead of using our lint:fix script.

@ovflowd
Copy link
Member Author

ovflowd commented Nov 23, 2024

interesting, we call prettier directly within main/.github/workflows/translations-pr.yml#L116-L119 instead of using our lint:fix script.

Follow-up issue to investigate that?

@ovflowd ovflowd added this pull request to the merge queue Nov 23, 2024
@ovflowd
Copy link
Member Author

ovflowd commented Nov 23, 2024

FYI here's the master issue for MDXv3 for prettier: prettier/prettier#12209

Merged via the queue into main with commit 762362c Nov 23, 2024
23 checks passed
@ovflowd ovflowd deleted the fix/align-index-mdx branch November 23, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-track Fast Tracking PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants