-
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
I am not a big fan of JSON objects in multiple lines.
For example:
return {
author: 'onmax',
}
Suggested solution
In cases where the object is small I like it to keep it in one line.
I would suggest to introduce a new command /// to-one-line
or /// to1line
/// to-one-line
return {
author: 'onmax',
}
becomes:
return { author: 'onmax' }
Alternative
Doing it by hand or have a ai do it for you
Additional context
If you like the idea and API I would love to give it a try :)
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request