Commit Graph

7 Commits

Author SHA1 Message Date
camc314 016cf2acd6 feat(linter/oxc): add bad-match-all-arg rule (#24900)
## Summary

- add oxc/bad-match-all-arg for non-global regular expressions passed to matchAll
- share cycle-safe RegExp flag resolution with bad-replace-all-arg
- support callable and global-qualified RegExp constructors
- update generated metadata, diagnostics, timings, and CLI rule-count snapshots

Closes #24823.
2026-07-24 14:48:45 +00:00
camc314 ce7a4dc3cb feat(linter/no-unreachable): move rule from nursery to correctness (#21618) 2026-04-21 18:58:20 +00:00
camc314 e3b5e78eeb feat(linter/getter-return): move rule from nursery to correctness (#21617)
This rule has been in in nursey for a significant amount of time, it should now be stable enough to promote to correctness.
2026-04-21 18:32:26 +00:00
Sysix 7be8613490 feat(linter): move no-misleading-chracter-class to correctness (#19006)
Almost all passing tests are now successful, we have still some false-false tests, but they are rare in real word, one is #13436
2026-02-06 13:59:54 +00:00
connorshea a398152031 feat(linter): Promote the eslint/no-iterator rule to correctness, which makes it a default rule (#18915)
Not sure if this should really count as `feat`, but any new rule getting added to the default set should at least show up in the changelog for users.

Also updated all the snapshots that needed to be updated for this.
2026-02-05 00:21:36 +00:00
camc314 b23395af07 feat(linter): enforce exporting an object with defineConfig (#18858)
This isn't technically needed at this point in time, but if we consider the following, when we have support for extends

- config A extends config B (lets assume this in DIR A)
- config B specifies a JS plugin (relative path pointing to DIR C)

Without using defineConfig, and setting the paths, we have no way of knowing the directory of B.

By enforcing the use of defineConfig, we can mutate the config, to add the config dir property so the relative paths are resolved properly
2026-02-02 15:30:50 +00:00
camc314 ea97231b3f feat(linter): implement oxlint.config.ts support (#17563)
Refs: https://github.com/oxc-project/oxc/issues/17527

note: this does not include language server support
2026-02-01 23:10:54 +00:00