8000 Reattempt fixing react for shared eslint configs by andrew-nowak · Pull Request #2088 · guardian/csnx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reattempt fixing react for shared eslint configs #2088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

andrew-nowak
Copy link
Member
@andrew-nowak andrew-nowak commented May 20, 2025

Brings back #2079

#2079 caused some odd problems after merge - the CI run after merge succeeded, but then subsequent runs failed with cryptic error messages. Searching those messages on stack overflow brought me to https://stackoverflow.com/a/77464178 which suggests this is due to mismatching versions of a dependency, and to try running pnpm dedupe. I've done that, and it did manage to dedupe some things so that seems plausible. More concrete, once I'd deduped the dependency tree I started seeing some new linting failures coming from the crossword component, which needed fixing -- which seems to me to strongly suggest we've now got a working dependency tree! 🎉

Copy link
changeset-bot bot commented May 20, 2025

🦋 Changeset detected

Latest commit: ab53ce9

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added 📦 npm Affects a @guardian package on NPM @guardian/eslint-config labels May 20, 2025
Copy link
Contributor

Tip

Once this PR is ready to go, add the run_chromatic label to run the Chromatic tests.

This saves us a lot of money by not running the tests before we need them.

< 8000 span class="Skeleton d-inline-block" style="width:12px; height:12px;">
@andrew-nowak andrew-nowak marked this pull request as ready for review May 20, 2025 11:53
@andrew-nowak andrew-nowak requested review from a team as code owners May 20, 2025 11:54
@andrew-nowak andrew-nowak changed the title Revert "Revert "include the recommended and jsx-runtime configs into their own config objects"" Reattempt fixing react for shared eslint configs May 21, 2025
@andrew-nowak andrew-nowak added the run_chromatic Runs chromatic when label is applied label May 21, 2025
Copy link
Contributor
@oliverabrahams oliverabrahams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for fixing this @andrew-nowak !

@andrewHEguardian @coldlink -- looks like this maybe an issue with the cache not invalidating when there are changes to the @guardian/eslint package

@oliverabrahams oliverabrahams merged commit 0333bbe into main May 21, 2025
21 checks passed
@oliverabrahams oliverabrahams deleted the revert-2086-revert-2079-an/react-eslint-shared-configs branch May 21, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@guardian/eslint-config 📦 npm Affects a @guardian package on NPM run_chromatic Runs chromatic when label is applied
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0