Skip to content

chore: willboosterify this repo#14

Merged
exKAZUu merged 1 commit intomainfrom
wbfy
Apr 25, 2026
Merged

chore: willboosterify this repo#14
exKAZUu merged 1 commit intomainfrom
wbfy

Conversation

@WillBooster-bot
Copy link
Copy Markdown

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 documentation and rule files to include guidelines for environment variable validation and bumps the build-ts dependency along with several other packages. Feedback was provided to replace the recommendation of using the Node.js assert module with throwing a standard Error to ensure compatibility across different environments, including browsers.

Comment thread .cursor/rules/general.mdc
- Prefer `undefined` over `null` unless explicitly required by APIs or libraries.
- Prefer using a single template literal for prompts instead of `join()` with an array of strings.
- Assume that all environment variables are properly defined.
- If validation is required, use `assert` to fail fast (e.g., during startup).
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

Using the Node.js assert module for validation is problematic in a React library intended for the browser, as it will cause bundling issues or runtime errors. Consider recommending a more portable approach, such as throwing a standard Error to fail fast.

  - If validation is required, throw an Error to fail fast (e.g., during startup).

Comment thread AGENTS.md
- Prefer `undefined` over `null` unless explicitly required by APIs or libraries.
- Prefer using a single template literal for prompts instead of `join()` with an array of strings.
- Assume that all environment variables are properly defined.
- If validation is required, use `assert` to fail fast (e.g., during startup).
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

Using the Node.js assert module for validation is problematic in a React library intended for the browser, as it will cause bundling issues or runtime errors. Consider recommending a more portable approach, such as throwing a standard Error to fail fast.

Suggested change
- If validation is required, use `assert` to fail fast (e.g., during startup).
- If validation is required, throw an Error to fail fast (e.g., during startup).

Comment thread CLAUDE.md
- Prefer `undefined` over `null` unless explicitly required by APIs or libraries.
- Prefer using a single template literal for prompts instead of `join()` with an array of strings.
- Assume that all environment variables are properly defined.
- If validation is required, use `assert` to fail fast (e.g., during startup).
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

Using the Node.js assert module for validation is problematic in a React library intended for the browser, as it will cause bundling issues or runtime errors. Consider recommending a more portable approach, such as throwing a standard Error to fail fast.

Suggested change
- If validation is required, use `assert` to fail fast (e.g., during startup).
- If validation is required, throw an Error to fail fast (e.g., during startup).

Comment thread GEMINI.md
- Prefer `undefined` over `null` unless explicitly required by APIs or libraries.
- Prefer using a single template literal for prompts instead of `join()` with an array of strings.
- Assume that all environment variables are properly defined.
- If validation is required, use `assert` to fail fast (e.g., during startup).
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

Using the Node.js assert module for validation is problematic in a React library intended for the browser, as it will cause bundling issues or runtime errors. Consider recommending a more portable approach, such as throwing a standard Error to fail fast.

Suggested change
- If validation is required, use `assert` to fail fast (e.g., during startup).
- If validation is required, throw an Error to fail fast (e.g., during startup).

@exKAZUu exKAZUu merged commit 5d6cb78 into main Apr 25, 2026
10 checks passed
@exKAZUu exKAZUu deleted the wbfy branch April 25, 2026 11:10
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.

2 participants