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

[YAML]: unexpected indent in nested list #6457

Closed
JounQin opened this issue Sep 7, 2019 · 2 comments
Closed

[YAML]: unexpected indent in nested list #6457

JounQin opened this issue Sep 7, 2019 · 2 comments

Comments

@JounQin
Copy link
Contributor

@JounQin JounQin commented Sep 7, 2019

Prettier 1.18.2
Playground link

Input:

language: node_js

node_js: --lts

cache:
  - yarn
  - directories:
    - .changelog

Output:

language: node_js

node_js: --lts

cache:
  - yarn
  - directories:
      - .changelog

Expected behavior:

language: node_js

node_js: --lts

cache:
  - yarn
  - directories:
    - .changelog
@mquandalle

This comment has been minimized.

Copy link

@mquandalle mquandalle commented Sep 23, 2019

Duplicate of #6043 ?

@JounQin

This comment has been minimized.

Copy link
Contributor Author

@JounQin JounQin commented Sep 23, 2019

@mquandalle Thanks, then I will close this issue.

@JounQin JounQin closed this Sep 23, 2019
@lydell lydell marked this as a duplicate of #6043 Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.