Fix lint issues in the packages#361
Merged
DonOmalVindula merged 4 commits intoasgardeo:mainfrom Feb 16, 2026
Merged
Conversation
5813d08 to
c060e3d
Compare
c060e3d to
75c34cf
Compare
75c34cf to
1fe2cc4
Compare
🦋 Changeset detectedThe changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. |
brionmario
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request primarily addresses linting issues across the
@asgardeo/browserpackage and related packages, introduces improved logging practices, and applies various TypeScript and code quality enhancements. The changes aim to standardize logging, improve type safety, and clean up code to align with best practices.Key changes include:
Linting and Dependency Updates
package.json. [1] [2].eslintignoreto exclude thesrc/__legacy__directory from linting in the browser package.Logging Improvements
console.warncalls with a standardized logger usingcreatePackageComponentLoggerinthemeDetection.ts,handleWebAuthnAuthentication.ts, and the legacy SPA client, improving consistency and traceability of warnings. [1] [2] [3] [4] F54f47b5L54R48, [5]TypeScript and Code Quality Enhancements
navigate.test.tsandhandleWebAuthnAuthentication.ts. [1] [2] [3]helpers/decorators.tsby returning the constructor, removing unnecessary ESLint disables.Build and Configuration Adjustments
esbuild.config.mjsfor better readability and maintainability, and improved plugin usage for bundling.Minor Code Cleanups
classListand adding missing type annotations. [1] [2] [3] [4] [5]These changes collectively improve code quality, maintainability, and developer experience across the affected packages.
Related Issues
Related PRs
Checklist
Security checks