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

chore: Resolve ESLint warnings #49348

Merged
merged 2 commits into from
Jan 16, 2025
Merged

chore: Resolve ESLint warnings #49348

merged 2 commits into from
Jan 16, 2025

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Nov 18, 2024

Summary

Some more cleanup after we re-enabled proper linting on the project:

  • Add default value to non-required Vue props
  • Reformat function to async function if needed
  • Add some documentation
  • Allow any in places where it makes sense (tests)
  • Order vue component sections as required
Before after
a b

Checklist

@susnux susnux added 3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Nov 18, 2024
@susnux susnux added this to the Nextcloud 31 milestone Nov 18, 2024
@susnux susnux requested a review from skjnldsv as a code owner November 18, 2024 13:41
@susnux susnux requested review from a team, Pytal and szaimen and removed request for a team November 18, 2024 13:41
@skjnldsv

This comment was marked as resolved.

@susnux susnux force-pushed the fix/eslint-warnings branch from 9af10ec to de84cfd Compare November 19, 2024 14:36
@susnux susnux requested review from nfebe and artonge and removed request for Pytal November 19, 2024 14:36
@blizzz blizzz mentioned this pull request Jan 8, 2025
This was referenced Jan 14, 2025
@susnux susnux force-pushed the fix/eslint-warnings branch from de84cfd to a7bc3bf Compare January 16, 2025 19:32
- Add default value to non-required Vue props
- Reformat function to async function if needed
- Add some documentation
- Allow `any` in places where it makes sense (tests)
- Order vue component sections as required

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/eslint-warnings branch from a7bc3bf to 1bed442 Compare January 16, 2025 21:20
@susnux susnux merged commit bca2685 into master Jan 16, 2025
192 checks passed
@susnux susnux deleted the fix/eslint-warnings branch January 16, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants