Skip to content

style: no indentation for member expressions in chained method calls#135

Merged
yjoer merged 1 commit intomasterfrom
yj
Feb 16, 2026
Merged

style: no indentation for member expressions in chained method calls#135
yjoer merged 1 commit intomasterfrom
yj

Conversation

@yjoer
Copy link
Owner

@yjoer yjoer commented Feb 16, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 16, 2026 16:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new code style convention for chained method calls by configuring ESLint to enforce no additional indentation for member expressions. The changes include updating the ESLint configuration, reformatting existing code to comply with the new style, and updating several development dependencies.

Changes:

  • Added ESLint indent rule with MemberExpression: 0 to prevent indentation in chained method calls
  • Added multiline-ternary rule set to 'never' to enforce single-line ternary expressions
  • Reformatted chained method calls in webpack plugins, Redux Toolkit reducers, and promise chains to align with new style
  • Updated development dependencies including ty, eslint plugins, oxlint, and stylelint

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/config/eslint.js Added indent rule configuration with MemberExpression: 0 and multiline-ternary: never to enforce style
packages/webpack/plugins.ts Reformatted resolver factory hook chain to remove indentation from chained .for() and .tap() calls
examples/tanstack/start/ui/AnimationSidebar.tsx Reformatted promise chain to remove indentation from .then() and .catch() calls
examples/tanstack/start/src/external-stores/ReduxToolkit.tsx Reformatted Redux Toolkit builder pattern to remove indentation from chained .addCase() calls
pyproject.toml Updated ty package from 0.0.16 to 0.0.17
packages/config/package.json Updated eslint-plugin-better-tailwindcss (4.2.0→4.3.0), eslint-plugin-react-you-might-not-need-an-effect (0.8.5→0.9.1), oxlint (1.47.0→1.48.0), and stylelint (17.2.0→17.3.0)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yjoer yjoer merged commit 4637885 into master Feb 16, 2026
15 checks passed
@yjoer yjoer deleted the yj branch February 16, 2026 16:13
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.

1 participant