chore: add tailwindStylesheet pointer, deprecate .eslintignore#18029
Merged
Conversation
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
pettinarip
approved these changes
Apr 24, 2026
3 tasks
pull Bot
pushed a commit
to Mirage1348/ethereum-org-website
that referenced
this pull request
Apr 27, 2026
PR ethereum#18038 ran prettier on a branch based on dev *before* PR ethereum#18029 landed, so .prettierrc didn't yet have `tailwindStylesheet: ./src/styles/global.css`. Without it, prettier-plugin-tailwindcss couldn't see the project's Tailwind v4 `@utility` definitions in src/styles/utilities.css and sorted them as unknown classes (head of the className string) instead of in their proper category position. Now that the merged config includes `tailwindStylesheet`, re-running `pnpm format` reorders custom utilities (e.g. bg-card-gradient-secondary, bg-background, text-body-medium, border-accent-*) into the correct slot.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
tailwindStylesheetpointer to.prettierrc-- Fixes canonical prettier formatting with known Tailwind configuration/theming.eslintignore; already replaced byignorePatternsin.eslintrcRelated Issue
Repo
.prettierrcis missing thetailwindStylesheetoption, which the plugin's own README calls out as required for Tailwind v4:In v3 the plugin auto-discovered
tailwind.config.js. In v4's CSS-first world there's no JS config — so without the pointer, the plugin doesn't know about:@themetokens (src/styles/theme.css)@utilitydeclarations (bg-gradient-main,grid-cols-bento, the wholez-*set, etc. insrc/styles/utilities.css)@custom-variant darkinsrc/styles/global.cssUnknown utilities get sorted to the end in a less stable way, and everything else around them can shift.