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

[prettier-plugin-toml]: do not add tailing comma to one-line object #361

Open
trim21 opened this issue May 3, 2024 · 0 comments
Open

[prettier-plugin-toml]: do not add tailing comma to one-line object #361

trim21 opened this issue May 3, 2024 · 0 comments

Comments

@trim21
Copy link

trim21 commented May 3, 2024

I have a one-line object

before

uvicorn = [
    { version = "^0.29.0", platform = 'linux', extras = [ 'standard' ] },
    { version = "^0.29.0", platform = 'win32' },
]

after

uvicorn = [
    { version = "^0.29.0", platform = 'linux', extras = [
        'standard',
    ] },
    { version = "^0.29.0", platform = 'win32' },
]

this doesn't look pretty...

@trim21 trim21 changed the title [prettier-plugin-toml]: do not add tailing comma to online object [prettier-plugin-toml]: do not add tailing comma to one-line object May 3, 2024
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

No branches or pull requests

1 participant