Skip to content

chore: willboosterify this repo#146

Merged
WillBooster-bot merged 1 commit intomainfrom
wbfy
May 8, 2026
Merged

chore: willboosterify this repo#146
WillBooster-bot merged 1 commit intomainfrom
wbfy

Conversation

@WillBooster-bot
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the @willbooster/wb dependency to version 13.12.14, adds @types/* to the preapproved npm packages in .yarnrc.yml, and modifies the oxlint configuration. Feedback was provided regarding the oxlint.config.ts file, where an intermediate variable was introduced unnecessarily; it is recommended to import the configuration directly to eliminate redundancy.

Comment thread oxlint.config.ts
Comment on lines +2 to +4
import oxlintBaseConfig from '@willbooster/oxlint-config';

const oxlintResolvedConfig = oxlintBaseConfig;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The intermediate variable oxlintBaseConfig and its assignment to oxlintResolvedConfig are redundant. The configuration can be imported directly as oxlintResolvedConfig to simplify the code, adhering to the repository style guide rule regarding the elimination of redundancy.

Suggested change
import oxlintBaseConfig from '@willbooster/oxlint-config';
const oxlintResolvedConfig = oxlintBaseConfig;
import oxlintResolvedConfig from '@willbooster/oxlint-config';
References
  1. Simplify code as much as possible to eliminate redundancy. (link)

@WillBooster-bot WillBooster-bot merged commit 8664074 into main May 8, 2026
10 checks passed
@WillBooster-bot WillBooster-bot deleted the wbfy branch May 8, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant