[PR #5655] chore: use strict lint rules #14391

Closed
opened 2026-04-13 09:27:09 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5655

State: closed
Merged: Yes


Summary by cubic

Tightened linting across auth endpoints, Vue store, and social provider modules by replacing short-circuit side effects with explicit conditionals. Improves readability and linter compliance with no behavior changes.

  • Refactors
    • Replace patterns like condition && array.push(...) with if statements.
    • Update hook registration in to-auth-endpoints, scope disposal in Vue store, and scope merging in all OAuth providers (including Microsoft refresh flow).
    • Preserve logic and outputs; this is style-only.
**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5655 **State:** closed **Merged:** Yes --- <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Tightened linting across auth endpoints, Vue store, and social provider modules by replacing short-circuit side effects with explicit conditionals. Improves readability and linter compliance with no behavior changes. - **Refactors** - Replace patterns like condition && array.push(...) with if statements. - Update hook registration in to-auth-endpoints, scope disposal in Vue store, and scope merging in all OAuth providers (including Microsoft refresh flow). - Preserve logic and outputs; this is style-only. <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:27:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14391