-
-
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've always found it annoying that formators unnecessarily format well-aligned code blocks, making them terser but ruining the readability and aesthetical appeal, especially for stuff like const matrices and long equations. For example:
export const matrix = [
1, 0, 0,
0.866, -0.5, 0,
0.5, 0.866, 42,
]
Formators would typically align the code above as such, but it often would be ideal to vertically align them by the commas like this:
// @keep-aligned , , ,
export const matrix = [
1 , 0 , 0 ,
0.866, -0.5 , 0 ,
0.5 , 0.866, 42,
]
I find this library to be the perfect solution to implement and automate this process, hence the feature request.
Suggested solution
PR
Alternative
No response
Additional context
No response
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