Open f0i opened 2 years ago
After a comment marker (//) at least one space should be inserted to improve readability. Additional spaces should be preserved.
//
Examples:
//some comment would be formatted as // some comment
//some comment
// some comment
// module { // asdf; //}
would be formatted as
// module { <- keep one space // asdf; <- keep multiple spaces // } <- add one space
Great suggestion! I'm currently trying to maintain consistency with the Prettier ecosystem (https://github.com/prettier/prettier/issues/5755), although it seems totally reasonable to have this as an optional feature.
After a comment marker (
//
) at least one space should be inserted to improve readability. Additional spaces should be preserved.Examples:
//some comment
would be formatted as// some comment
would be formatted as