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

instability in literal object #14367

Closed
uriva opened this issue Feb 15, 2023 · 1 comment
Closed

instability in literal object #14367

uriva opened this issue Feb 15, 2023 · 1 comment
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. type:duplicate Issues that are a duplicate of a previous issue

Comments

@uriva
Copy link

uriva commented Feb 15, 2023

pettier is unstable, it allows

const newState = { ...state };

but also

const newState = { 
  ...state,
};

please choose one instead of allowing both

@kachkaev
Copy link
Member

👋 @uriva! You can find a discussion of this issue in #2068. Let’s close this one to keep all thoughts on the topic in one place.

@kachkaev kachkaev added the type:duplicate Issues that are a duplicate of a previous issue label Feb 15, 2023
@github-actions github-actions bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Nov 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. type:duplicate Issues that are a duplicate of a previous issue
Projects
None yet
Development

No branches or pull requests

2 participants