oxc/crates/oxc_parser/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
..
js fix(parser) fix typo in expecting_directives variable name (#1801) 2023-12-24 16:51:02 +00:00
jsx fix(parser): await in jsx expression 2023-12-19 20:23:16 +08:00
lexer feat(linter): no-irregular-whitespace rule (#1835) 2023-12-31 12:05:38 +08:00
ts chore: upgrade rustc toolchain to stable 1.75.0 (#1853) 2023-12-29 12:20:51 +08:00
context.rs fix(parser): false postive for "Missing initializer in const declaration" in declare + namespace (#1724) 2023-12-18 17:03:42 +08:00
cursor.rs chore(clippy): enable undocumented_unsafe_blocks 2023-10-16 15:18:14 +08:00
diagnostics.rs refactor(parser): report this parameter error (#1788) 2023-12-23 22:09:14 +08:00
lib.rs feat(parser): add preserve_parens option (default: true) (#1474) 2023-11-21 11:16:30 +08:00
list.rs fix(parser): fix crashing on empty ParenthesizedExpression with comments (#263) 2023-04-06 17:16:15 +08:00
state.rs refactor(ast): change Option<Vec> to Vec for decorators (#84) 2023-03-02 15:52:46 +08:00