Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Upgraded frontend-build version to v12 #51

Merged
merged 10 commits into from
Oct 25, 2022

Conversation

BilalQamar95
Copy link
Contributor

@BilalQamar95 BilalQamar95 commented Jul 19, 2022

Ticket:
42: Upgrade eslint to v8.x

What changed?

  • Updated frontend-build to v12 (Eslint was updated in frontend-build version resulting in it's version being bumped to v12. This PR updates frontend-build to reciprocate eslint version update)
  • Resolved eslint issues post update

@BilalQamar95 BilalQamar95 self-assigned this Aug 15, 2022
@codecov
Copy link

codecov bot commented Aug 15, 2022

Codecov Report

Base: 49.02% // Head: 49.12% // Increases project coverage by +0.09% 🎉

Coverage data is based on head (71c05ee) compared to base (1f4e714).
Patch coverage: 61.90% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   49.02%   49.12%   +0.09%     
==========================================
  Files          76       76              
  Lines        2005     2003       -2     
  Branches      372      372              
==========================================
+ Hits          983      984       +1     
+ Misses        988      985       -3     
  Partials       34       34              
Impacted Files Coverage Δ
src/library-authoring/common/LicenseField.jsx 25.00% <ø> (ø)
.../library-authoring/common/OrganizationDropdown.jsx 95.18% <ø> (ø)
...thoring/configure-library/LibraryConfigurePage.jsx 3.44% <0.00%> (ø)
...brary-authoring/course-import/CourseImportPage.jsx 86.36% <ø> (ø)
...ary-authoring/create-library/LibraryCreatePage.jsx 81.81% <ø> (ø)
...authoring/edit-block/LibraryBlock/LibraryBlock.jsx 58.53% <ø> (ø)
...ibrary-authoring/edit-block/LibraryBlockAssets.jsx 14.28% <ø> (ø)
...c/library-authoring/edit-block/LibraryBlockOlx.jsx 6.25% <ø> (ø)
.../library-authoring/edit-block/LibraryBlockPage.jsx 3.15% <ø> (ø)
src/library-authoring/edit-block/data/shapes.js 100.00% <ø> (ø)
... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

</div>
</Col>
);
function LoadingPage({ loadingMessage }) {
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems all of the const components have been replaced with function

Is there something in the linter that's requiring that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is due to satisfaction of an automatically fixable react/function-component-definition rule. You can find more details on the rule here.

Copy link
Contributor

@brian-smith-tcril brian-smith-tcril left a comment

Choose a reason for hiding this comment

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

:shipit:

@arbrandes
Copy link
Contributor

@BilalQamar95, we'd like to merge this, but there are conflicts with master. Do you mind squashing/rebasing manually?

@arbrandes
Copy link
Contributor

Never mind, we can do Squash and merge, apparently :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants