Skip to content

Conversation

@boneskull
Copy link
Owner

chore: add vendored numeric-separators-style ESLint rule

Vendored from eslint-plugin-unicorn to enforce readable numeric
literals with underscores (e.g., 1_000_000 instead of 1000000).

Adapted to use standard ESLint visitor pattern instead of unicorn's
internal context.on() API.

chore: apply numeric separator formatting to codebase

Auto-fixed by numeric-separators-style rule to improve readability
of large numeric literals (e.g., 1000000 → 1_000_000).

@github-actions github-actions bot added the chore Build tooling, tests, configuration, overhead label Dec 18, 2025
Copy link
Owner Author

boneskull commented Dec 18, 2025

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 18, 2025

Deploying modestbench with  Cloudflare Pages  Cloudflare Pages

Latest commit: fbeff80
Status: ✅  Deploy successful!
Preview URL: https://91ae3119.modestbench.pages.dev
Branch Preview URL: https://feature-numeric-separator-li.modestbench.pages.dev

View logs

@boneskull boneskull force-pushed the feature/numeric-separator-lint branch 2 times, most recently from 713f86c to 6a4e159 Compare December 18, 2025 07:09
@boneskull boneskull force-pushed the feature/budget-wildcards branch 2 times, most recently from 97bc957 to 9de14ce Compare December 18, 2025 07:17
@boneskull boneskull force-pushed the feature/numeric-separator-lint branch from 6a4e159 to 9c50710 Compare December 18, 2025 07:17
Base automatically changed from feature/budget-wildcards to main December 18, 2025 07:18
Vendored from eslint-plugin-unicorn to enforce readable numeric
literals with underscores (e.g., 1_000_000 instead of 1000000).

Adapted to use standard ESLint visitor pattern instead of unicorn's
internal context.on() API.
Auto-fixed by numeric-separators-style rule to improve readability
of large numeric literals (e.g., 1000000 → 1_000_000).
@boneskull boneskull force-pushed the feature/numeric-separator-lint branch from 9c50710 to fbeff80 Compare December 18, 2025 07:18
@boneskull boneskull merged commit b304e4f into main Dec 18, 2025
11 checks passed
@boneskull boneskull deleted the feature/numeric-separator-lint branch December 18, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build tooling, tests, configuration, overhead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants