Skip to content

fix: lint errors — no-control-regex, unused vars, constant nullishness#21

Merged
yvng-jie merged 1 commit into
mainfrom
fix/lint-errors
Jun 13, 2026
Merged

fix: lint errors — no-control-regex, unused vars, constant nullishness#21
yvng-jie merged 1 commit into
mainfrom
fix/lint-errors

Conversation

@yvng-jie

Copy link
Copy Markdown
Owner

Fixes 7 lint issues reported in CI:

  • case.test.ts: no-control-regex — use RegExp constructor instead of regex literal with control char
  • json.ts:38: remove unused flags destructured variable
  • math.ts:72: ??|| (Number() never returns null/undefined)
  • random.ts:15,19: remove unused cryptoRandomInt function and buf variable
  • random.ts:77,80: ??|| (same pattern)

@yvng-jie yvng-jie merged commit be3dfd1 into main Jun 13, 2026
0 of 3 checks passed
@yvng-jie yvng-jie deleted the fix/lint-errors branch June 13, 2026 15:38
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