Skip to content

fix: re-enable no-control-regex#3

Merged
wschurman merged 1 commit into
mainfrom
wschurman/04-09-fix_re-enable_no-control-regex
Apr 9, 2026
Merged

fix: re-enable no-control-regex#3
wschurman merged 1 commit into
mainfrom
wschurman/04-09-fix_re-enable_no-control-regex

Conversation

@wschurman
Copy link
Copy Markdown
Member

@wschurman wschurman commented Apr 9, 2026

It wasn't immediately obvious to me why we'd have this off by default since oxlint enables it by default: https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-control-regex.html

It does appear that there is code in expo/expo that disables the eslint rule explicitly: https://github.com/search?q=repo%3Aexpo%2Fexpo%20no-control-regex&type=code. I think this order of precedence is correct. On by default to match oxlint default, explicit per-case disable.

Copy link
Copy Markdown
Member Author

wschurman commented Apr 9, 2026

Copy link
Copy Markdown
Member Author

wschurman commented Apr 9, 2026

Merge activity

  • Apr 9, 5:11 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 9, 5:12 PM UTC: Graphite rebased this pull request as part of a merge.
  • Apr 9, 5:13 PM UTC: @wschurman merged this pull request with Graphite.

@wschurman wschurman changed the base branch from wschurman/04-09-chore_explicitly_enable_some_rules_that_are_on_by_default to graphite-base/3 April 9, 2026 17:11
@wschurman wschurman changed the base branch from graphite-base/3 to main April 9, 2026 17:11
@wschurman wschurman force-pushed the wschurman/04-09-fix_re-enable_no-control-regex branch from 2e9b3fa to 0fc8e7f Compare April 9, 2026 17:12
@wschurman wschurman merged commit d015e9c into main Apr 9, 2026
2 checks passed
@wschurman wschurman deleted the wschurman/04-09-fix_re-enable_no-control-regex branch April 9, 2026 17:20
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