oxc/crates/oxc_linter
Naoya Yoshizawa 00060ca0f1
feat(linter): Implement eslint/no-object-constructor (#7345)
A test case for `new Object()` has been commented out:

This is due to the test configuration specifying `globals: { Object:
"off" }`.
This approach follows the example set by the no_new_wrappers rule.
[Reference
Code](bf839c1dfa/crates/oxc_linter/src/rules/eslint/no_new_wrappers.rs (L88))

---------

Co-authored-by: no-yan <63000297+no-yan@users.noreply.github.com>
Co-authored-by: Cameron Clark <cameron.clark@hey.com>
2024-11-23 19:17:51 +00:00
..
examples refactor(oxc): remove useless allocator.alloc(program) calls (#6571) 2024-10-15 02:21:20 +00:00
fixtures
src feat(linter): Implement eslint/no-object-constructor (#7345) 2024-11-23 19:17:51 +00:00
tests
Cargo.toml release(oxlint): v0.13.1 (#7441) 2024-11-23 23:46:16 +08:00
CHANGELOG.md release(oxlint): v0.13.1 (#7441) 2024-11-23 23:46:16 +08:00