Skip to content

revert: "feat(lint/js): add noIteratorProperty (#12083)" - #12148

Merged
dyc3 merged 1 commit into
mainfrom
dyc3/revert-noiteratorproperty-remove-it-thr_7za5e5t2cm
Oct 5, 2026
Merged

dyc3 merged 1 commit into
mainfrom
dyc3/revert-noiteratorproperty-remove-it-thr_7za5e5t2cm

Conversation

@dyc3

@dyc3 dyc3 commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Summary

This reverts commit 9db579b to remove noIteratorProperty (unreleased rule).

The original rule is very old, and its not really relevant anymore.

Test Plan

green ci

Docs

@changeset-bot

changeset-bot Bot commented Oct 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3c7348d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added A-CLI Area: CLI A-Project Area: project A-Linter Area: linter L-JavaScript Language: JavaScript and super languages A-Diagnostic Area: diagnostocis labels Oct 5, 2026
@coderabbitai

coderabbitai Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: biomejs/biome/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: e4edb5b7-faa6-435a-8cab-2fc7ff001548
📥 Commits

Reviewing files that changed from the base of the PR and between 9ce4eee and 3c7348d.

⛔ Files ignored due to path filters (8)
  • crates/biome_cli/src/execute/migrate/eslint_any_rule_to_biome.rs is excluded by !**/migrate/eslint_any_rule_to_biome.rs and included by **
  • crates/biome_configuration/src/analyzer/linter/rules.rs is excluded by !**/rules.rs and included by **
  • crates/biome_configuration/src/generated/linter_options_check.rs is excluded by !**/generated/**, !**/generated/** and included by **
  • crates/biome_diagnostics_categories/src/categories.rs is excluded by !**/categories.rs and included by **
  • crates/biome_js_analyze/tests/specs/nursery/noIteratorProperty/invalid.js.snap is excluded by !**/*.snap and included by **
  • crates/biome_js_analyze/tests/specs/nursery/noIteratorProperty/valid.js.snap is excluded by !**/*.snap and included by **
  • packages/@biomejs/backend-jsonrpc/src/workspace.ts is excluded by !**/backend-jsonrpc/src/workspace.ts and included by **
  • packages/@biomejs/biome/configuration_schema.json is excluded by !**/configuration_schema.json and included by **
📒 Files selected for processing (6)
  • .changeset/quiet-iterators-fade.md
  • crates/biome_js_analyze/src/lint/nursery/no_iterator_property.rs
  • crates/biome_js_analyze/tests/specs/nursery/noIteratorProperty/invalid.js
  • crates/biome_js_analyze/tests/specs/nursery/noIteratorProperty/valid.js
  • crates/biome_rule_options/src/lib.rs
  • crates/biome_rule_options/src/no_iterator_property.rs
💤 Files with no reviewable changes (6)
  • crates/biome_rule_options/src/lib.rs
  • crates/biome_js_analyze/tests/specs/nursery/noIteratorProperty/valid.js
  • .changeset/quiet-iterators-fade.md
  • crates/biome_js_analyze/tests/specs/nursery/noIteratorProperty/invalid.js
  • crates/biome_rule_options/src/no_iterator_property.rs
  • crates/biome_js_analyze/src/lint/nursery/no_iterator_property.rs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


Walkthrough

The pull request removes the noIteratorProperty lint rule, its public options module and type, both rule test fixtures, and the changeset announcing the rule.

Priority: ⬇️ Low

Change: Other

Merge Risk: ⚪ Minimal · up to 3c734

The unreleased rule appears to be removed consistently, with no identified issue preventing merge.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states that this pull request reverts the change that added noIteratorProperty.
Description check ✅ Passed The description explains that this pull request removes the unreleased noIteratorProperty rule and reports the CI status.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@dyc3
dyc3 merged commit aa2ebef into main Oct 5, 2026
36 checks passed
@dyc3
dyc3 deleted the dyc3/revert-noiteratorproperty-remove-it-thr_7za5e5t2cm branch October 5, 2026 12:09
@codspeed

codspeed Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will degrade performance by 5.61%

❌ 1 regressed benchmark
✅ 113 untouched benchmarks
⏩ 297 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ load[undefined_reference/js] 2.7 ms 2.8 ms -5.61%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing dyc3/revert-noiteratorproperty-remove-it-thr_7za5e5t2cm (3c7348d) with main (9ce4eee)

Open in CodSpeed

Footnotes

  1. 297 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI A-Diagnostic Area: diagnostocis A-Linter Area: linter A-Project Area: project L-JavaScript Language: JavaScript and super languages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants