Skip to content

[pull] main from TanStack:main#405

Merged
pull[bot] merged 2 commits into
manudeli:mainfrom
TanStack:main
Apr 3, 2026
Merged

[pull] main from TanStack:main#405
pull[bot] merged 2 commits into
manudeli:mainfrom
TanStack:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

mixelburg and others added 2 commits April 3, 2026 12:02
…ng for multiline expressions (#10337)

* fix(eslint-plugin): normalize whitespace in allowList variable matching

When a member expression spans multiple lines (e.g. `ignored\n    .run()`),
`sourceCode.getText()` preserves the newline. The root segment extracted
by splitting on `.'` then becomes `'ignored\n    '`, which never matches
the allowlisted variable name `'ignored'`.

Fix: extend `normalizeChain` to also collapse all whitespace, so
multi-line chains produce the same identifier path as single-line ones.

Fixes #10334

* changeset

---------

Co-authored-by: Maks Pikov <mixelburg@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.