-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add quoteProps: es3 #6936
Copy link
Copy link
Closed
Labels
lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Metadata
Metadata
Assignees
Labels
lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
When contributing new polyfills to ES‑Shims, which have to use ES3, I still want to use Prettier for ES‑Shim packages that I own.
Since Prettier strips the quotes required by ES3 for object properties named with keywords, I have to run
eslint ‑‑fixafter runningprettier --write, which is annoying.Prettier 1.19.1
Playground link
Input:
Output:
Expected behavior: