You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enabled oxlint's correctness category as error, the rules that were explicitly off before stay off
React Compiler rules (refs, immutability, set-state-in-effect, purity, preserve-manual-memoization) are warn for now, fixing the 17 findings should be researched -> separate PR
every package lints its own sources in check: audio-api tests, test-app-screen, common-app, audiodocs and internaldocs
fixed the findings this surfaced
warnings don't fail check
common-app keeps its nested @react-native config, with exhaustive-deps as warn and no-floating-promises off as in the library
Summary by CodeRabbit
Bug Fixes
Improved time-domain visualization by sizing its data from the analyser’s configured FFT size.
Corrected the play/pause icon’s default so an unspecified playback state displays the play icon.
Improved error messages in audio recording and decoding examples by consistently displaying caught errors.
Updates
Audio playback examples now create buffer sources synchronously, keeping playback actions aligned with the audio API’s behavior.
Review was skipped as selected files did not have any reviewable changes.
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 975c2cd2-865b-4bcd-af90-1c941a54f5f4
Commits
Reviewing files that changed from the base of the PR and between 307e417 and 75312fa.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
Oxlint rules and package check scripts change across the repository. App and documentation code receive lint-related updates, along with selected audio playback, error handling, plugin, and test changes.
Oxlint rules and package scripts change. Checks add linting or extend the Oxlint target to include tests.
Common app lint updates and behavior apps/common-app/src/components/*, apps/common-app/src/demos/*, apps/common-app/src/examples/*, apps/common-app/src/other/*
The app updates gesture scheduling, icon defaults, error formatting, callback annotations, and stress-test finalization.
Audio utilities and shared components packages/audiodocs/src/audio/*, packages/audiodocs/src/canvasUtils/*, packages/audiodocs/src/components/*
Audio utilities, hooks, effects, canvas drawing, and shared components receive API, lint, and implementation updates. createDelay drops its feedback and wet parameters.
Interactive examples remove asynchronous wrappers around synchronous audio-node creation. Promise handling and callback property declarations also change.
Documentation examples and rendering updates packages/audiodocs/src/examples/*, packages/audiodocs/src/landingComponents/*, packages/audiodocs/src/pages/index.tsx
Audio examples create buffer sources synchronously. Related rendering, import, and local binding updates are applied.
Audio API plugin and test updates packages/react-native-audio-api/src/core/AudioParam.ts, packages/react-native-audio-api/src/plugin/withAudioAPI.ts, packages/react-native-audio-api/tests/*, packages/test-app-screen/src/*
The plugin and tests receive implementation and typing updates. Test-app error messages now explicitly convert caught errors to strings.
This change enables stricter lint rules and adds lint steps to each package's check script, with small behavior-preserving code fixes to satisfy them. No concrete regression was found, so the change looks safe to merge, subject to a normal CI run of lint and typecheck.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title 'chore: lint rules, lint everything' matches the main change: Oxlint correctness rules are enabled as errors and every package now lints its own sources in check. It uses a conventional co…
Description check
The description follows the template. It has the Breaking changes section, stating none, and the Introduced changes section, which lists the lint rule changes, the per-package linting in check, and …
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title 'chore: lint rules, lint everything' matches the main change: Oxlint correctness rules are enabled as errors and every package now lints its own sources in check. It uses a conventional commit prefix and is short. It is somewhat terse, but it names the primary change.
Full details: Description check
Explanation
The description follows the template. It has the Breaking changes section, stating none, and the Introduced changes section, which lists the lint rule changes, the per-package linting in check, and the fixes. The template's 'Closes #' issue reference and the Checklist are missing. The author did not link an issue, and the checklist items are not marked.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Fix failing CI checks
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
could you try to refactor that code?
This branch has not been deployed
No deployments
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
choreRoutine maintenance, tooling updates, or task work with no src changes
2 participants
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.
Introduced changes
oxlint'scorrectnesscategory aserror, the rules that were explicitly off before stay offrefs,immutability,set-state-in-effect,purity,preserve-manual-memoization) arewarnfor now, fixing the 17 findings should be researched -> separate PRcheck: audio-apitests, test-app-screen, common-app, audiodocs and internaldocscheck@react-nativeconfig, withexhaustive-depsaswarnandno-floating-promisesoff as in the librarySummary by CodeRabbit
Bug Fixes
Updates