Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cursor/rules/general.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ alwaysApply: true
- Avoid stating what can be easily understood from the code itself.
- 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).

2 changes: 2 additions & 0 deletions .gemini/styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ Review in English based on the following coding standards.
- Avoid stating what can be easily understood from the code itself.
- 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).
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@
- Avoid stating what can be easily understood from the code itself.
- 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).

2 changes: 2 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@
- Avoid stating what can be easily understood from the code itself.
- 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).

2 changes: 2 additions & 0 deletions GEMINI.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@
- Avoid stating what can be easily understood from the code itself.
- 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).

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@typescript/native-preview": "7.0.0-dev.20260421.2",
"@willbooster/oxfmt-config": "1.2.1",
"@willbooster/oxlint-config": "1.4.4",
"build-ts": "17.1.6",
"build-ts": "17.1.8",
"conventional-changelog-conventionalcommits": "9.3.1",
"jsdom": "29.0.2",
"lefthook": "2.1.5",
Expand Down
Loading
Loading