Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: give a node at least the indentation of its parent (fixes #9995) #10054

Merged
merged 1 commit into from Mar 6, 2018

Conversation

@not-an-aardvark
Copy link
Member

@not-an-aardvark not-an-aardvark commented Mar 3, 2018

What is the purpose of this pull request? (put an "X" next to item)

[x] Bug fix (#9995)

What changes did you make? (Give an overview)

This updates the indent rule to ensure that the tokens in a non-ignored node are always indented at least as much as the first token of the node. This fixes an issue where some tokens would not have enough indentation if their node's listener did not explicitly give them an offset.

Is there anything you'd like reviewers to focus on?

Nothing in particular

This updates the `indent` rule to ensure that the tokens in a non-ignored node are always indented at least as much as the first token of the node. This fixes an issue where some tokens would not have enough indentation if their node's listener did not explicitly give them an offset.
@not-an-aardvark not-an-aardvark merged commit 2e68be6 into master Mar 6, 2018
5 checks passed
5 checks passed
commit-message Commit message follows guidelines
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details
release-monitor No patch release is pending
Details
@not-an-aardvark not-an-aardvark deleted the indent-unary-operator-dependents branch Mar 6, 2018
This was referenced Mar 22, 2018
@eslint eslint bot locked and limited conversation to collaborators Sep 3, 2018
@eslint eslint bot added the archived due to age label Sep 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.