openedx / frontend-app-discussions

A React-based micro frontend for the Open edX discussion forums.
GNU Affero General Public License v3.0
6 stars 64 forks source link

chore: removed eslint-disable statements #658

Closed ayesha-waris closed 10 months ago

ayesha-waris commented 10 months ago

INF-1216

Description

Removed nearly all eslint-disable statement, refactoring the code accordingly. No changes have been made to the functionality.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 22 lines in your changes are missing coverage. Please review.

Comparison is base (88a985d) 92.39% compared to head (6f22d74) 92.76%.

Files Patch % Lines
src/discussions/posts/data/slices.js 78.12% 14 Missing :warning:
src/discussions/post-comments/data/slices.js 95.65% 3 Missing :warning:
...iscussions/post-comments/comments/CommentsView.jsx 85.71% 1 Missing and 1 partial :warning:
src/discussions/data/slices.js 83.33% 1 Missing :warning:
src/discussions/topics/data/slices.js 85.71% 1 Missing :warning:
.../discussions/topics/topic-group/TopicGroupBase.jsx 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #658 +/- ## ========================================== + Coverage 92.39% 92.76% +0.37% ========================================== Files 169 156 -13 Lines 3456 3303 -153 Branches 896 902 +6 ========================================== - Hits 3193 3064 -129 + Misses 243 219 -24 Partials 20 20 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.