Skip to content
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

ESCONF-43 Set ESlint React version setting to detect #128

Closed
wants to merge 2 commits into from

Conversation

alb3rtino
Copy link

https://folio-org.atlassian.net/browse/ESCONF-43

The React version ESlint setting effects the rule behavior of plugins like eslint-plugin-react. Having it set to an older React version leads to missing or incorrect linting results. By setting it to detect, the current React version will be automatically detected, ensuring up-to-date linting.

Copy link

github-actions bot commented Jun 17, 2024

Jest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit be848f3. ± Comparison against base commit b34e314.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jun 17, 2024

BigTest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit be848f3. ± Comparison against base commit b34e314.

♻️ This comment has been updated with latest results.

@alb3rtino alb3rtino requested a review from a team June 17, 2024 14:20
Copy link
Contributor

@MikeTaylor MikeTaylor left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for handling this!

@alb3rtino alb3rtino requested a review from a team June 17, 2024 14:56
Copy link
Member

@zburke zburke left a comment

Choose a reason for hiding this comment

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

This is obviously correct. Before you merge it, please try it out in a few different repositories to see how it affects things. If there are any changes, announce the pending PR on Slack#stripes-updates before you merge to avoid surprising people with unexpected changes.

Thank you for this fix!

@alb3rtino
Copy link
Author

Changing the react version setting is a breaking change, as it alters the linting rules applied. Dependent projects may fail linting checks as a result.

@alb3rtino alb3rtino requested a review from zburke June 21, 2024 08:25
@zburke
Copy link
Member

zburke commented Jun 21, 2024

@alb3rtino , I think this makes sense, but let's run it by @JohnC-80 when he is back next week.

See also folio-org/stripes-cli#349. Nobody has been pushing for that, but we could pull in this new version at the same time, allowing us to avoid a breaking change in stripes-cli later.

@alb3rtino alb3rtino closed this Dec 20, 2024
@alb3rtino alb3rtino deleted the ESCONF-43 branch December 20, 2024 14:46
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.

4 participants