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

[Fix] sort-prop-types: single line type ending without semicolon #3784

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

akulsr0
Copy link
Contributor

@akulsr0 akulsr0 commented Jul 18, 2024

Partially fixes #3783

lib/util/propTypesSort.js Outdated Show resolved Hide resolved
tests/lib/rules/sort-prop-types.js Outdated Show resolved Hide resolved
@akulsr0
Copy link
Contributor Author

akulsr0 commented Jul 18, 2024

@ljharb Failing test looks like a fluke, can we rerun failing test once?

@akulsr0 akulsr0 marked this pull request as ready for review July 18, 2024 06:06
@ljharb
Copy link
Member

ljharb commented Jul 18, 2024

The failures are due to nodejs/node#53902. Once that's resolved, I'll rerun them.

@ljharb ljharb changed the title [Fix]sort-prop-types: single line type ending without semicolon [Fix] sort-prop-types: single line type ending without semicolon Jul 19, 2024
Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.62%. Comparing base (2fdf0b4) to head (a08cb93).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3784      +/-   ##
==========================================
- Coverage   97.76%   97.62%   -0.15%     
==========================================
  Files         135      132       -3     
  Lines        9680     9697      +17     
  Branches     3515     3522       +7     
==========================================
+ Hits         9464     9467       +3     
- Misses        216      230      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ljharb ljharb merged commit a08cb93 into jsx-eslint:master Jul 19, 2024
344 of 345 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: sort-prop-types's autofix doesn't move the semicolon, producing broken code, on single-line Props types
2 participants