-
Notifications
You must be signed in to change notification settings - Fork 661
Closed
Labels
good first issueGood for newcomersGood for newcomerstype: feature requestNew feature or requestNew feature or request
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Component
all
Problem
In the prettier config in #1946, we set the quoteProps rule to "preserve". This was necessary in blockly core as we have some properties that must remain quoted due to the closure compiler. Since we don't use closure compiler in samples, we don't need to keep this setting. We can set the rule to consistent meaning only add quotations to properties that must be quoted, and then if any property in an object is quoted, all of them will be to remain consistent.
Request
To close this issue:
- Wait for chore: add formatting with prettier #1946 to be submitted
- Set the
quotePropsrule toconsistentin the.prettierrc.jsfile - Run
npm run formatto automatically fix all properties.
Alternatives considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerstype: feature requestNew feature or requestNew feature or request