Repository navigation
Conversation
Adds complexity (10), max-depth (3), max-params (3), no-else-return, no-nested-ternary, no-param-reassign (props), import/no-cycle and typescript/switch-exhaustiveness-check as warnings. The size and style rules are off in tests and stories.
Adds native jsdoc rules (check-tag-names, no-defaults, require-param for blocks that already list params, param and returns descriptions) and eslint-plugin-jsdoc as the jsdoc-js JS plugin for no-types, check-param-names and require-hyphen-before-param-description. No rule requires a doc block.
🦋 Changeset detectedLatest commit: e5bbc1a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
In plain JS, JSDoc braces are the only type information.
🦋 Changeset detectedLatest commit: 9bcae32 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
jcosta33
marked this pull request as ready for review
November 9, 2026 14:30
Require unions to list every case, share one test glob list, apply no-empty and no-useless-catch to TypeScript, and add unicorn/no-array-reduce and eslint-comments/require-description.
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.
Adds lint errors for code that is quick to fix. The base Oxlint config applies them to both shared Oxlint packages.
elsebranches, arrayreduce, and lint suppressions without a reason.@defaultvalue when the documented function has a parameter or destructured prop with a default. Keep JSDoc type annotations in JavaScript. Load the JSDoc plugin from the shared package so consumers can use isolated installs.Warn at 10 for complexity and 3 for nesting depth and parameter count. Also warn when code reassigns parameters or mutates their properties. Tests and stories have six exceptions so fixtures can stay inline.
Dependency Cruiser already checks for import cycles.
When upgrading, address the new errors or set the affected rules to warnings locally.
Child #162