-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Milestone
Description
I'd like us to consider replacing eslint with oxlint across all Open edX frontend repos. This ticket is to track work to test Oxlint in this MFE's codebase. See the related PRs for findings.
PR to test oxlint in this repo on a trial basis: #2847
Issues found from testing
- 104 missing/spurious
awaitstatements in test code test: fix test code improperly using/missing 'await' #2560 - 50+ additional missing/spurious
awaitstatements chore: fix incorrect or missing 'await' usages #2592 - 8 redundant declarations of
undefinedtype on optional parameters chore: fix unnecessary 'undefined' types #2589 - 110 unused
errorvariables chore: don't name unused errors in catch expressions #2591 - 15 questionable
.toString()usages chore: fix no-base-to-string #2597 - 2 very bad usages of
eval()! Fix parsing of OLX "correct" attribute #2848 - 2 nullish coalescing operators used pointlessly chore: clean up ValidationResult for NumericalInput problems #2849
- 52 type issues of various severity Fix 52 various type warnings and problems found by oxlint #2850
Private ref MNG-4763
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Review