oxc/crates/oxc_prettier/src
Deivid Almeida c1cfd1759e
feat(linter): no-irregular-whitespace rule (#1835)
Parser, trivias and trivias_builder were edited to get all whitespaces.
Now Trivias struct store comments and whitespaces Vec. After that, i
will implement the no-irregular-whitespace rule.

P.S.: There isn't a way to implement this feature without lose a little
bit of performance, comparing with my last PR #1819 to minimax this
trouble instead of store the irregular whitespace as Span it was stored
as u32, i removed a map iterator and removed too a unused function. If
you have a suggestion about it pls give me a feedback.
2023-12-31 12:05:38 +08:00
..
comments feat(prettier): implement has_comment, improve blank lines when printing arrays (#1601) 2023-12-01 20:52:26 +08:00
format chore: upgrade rustc toolchain to stable 1.75.0 (#1853) 2023-12-29 12:20:51 +08:00
printer feat(prettier): print CallExpression arguments correctly (#1631) 2023-12-10 15:59:13 +08:00
utils feat(prettier): print CallExpression arguments correctly (#1631) 2023-12-10 15:59:13 +08:00
binaryish.rs feat(prettier): add print_binaryish_expressions (#1664) 2023-12-13 22:52:53 +08:00
doc.rs fix(prettier) add missing closing brace for dock debug (#1786) 2023-12-23 10:59:13 +08:00
lib.rs feat(linter): no-irregular-whitespace rule (#1835) 2023-12-31 12:05:38 +08:00
macros.rs feat(prettier): add ConditionalGroup command (#1635) 2023-12-07 20:12:45 +08:00
needs_parens.rs chore: upgrade rustc toolchain to stable 1.75.0 (#1853) 2023-12-29 12:20:51 +08:00
options.rs feat(tasks): add visualize_end_of_line (#1593) 2023-11-30 23:42:57 +08:00