oxc
oxc copied to clipboard
⚓ A collection of JavaScript tools written in Rust.
Given a `.eslint.json` file like this: ``` { "extends": "../.eslintrc.json", "rules": { "no-console": "error", "brace-style": "off" } } ``` Oxlint will only check for these two rules, ignoring all the...
Instead of visiting AST to count AST nodes in `SemanticBuilder`, just make high estimates of counts for nodes, scopes, symbols and references, based on source text length. These estimates are...
That way we don't check if has value references in other plugins like this ```rs ctx.symbols().get_resolved_references(symbol_id).any(Reference::is_value) ``` Similar as #5322.
Remove `ast_node_records`, and the functions that push and pop it, from `SemanticBuilder`. The purpose of that apparatus is to do something quite simple - get the `AstNodeId` of an `Expression`...
Should be refactored to mimic [coc-oxc](https://github.com/oxc-project/coc-oxc/) more closely.
We should parse the `cfg_attr` attributes in our `oxc_ast_tools`/`oxc_ast_macros` and use them to find conditional `generate_derive` usages. This should be implemented in the same way that `generate_derive` works. We need...
There is a remaining clippy issue with passing `COW` which I simply can't resolve, but maybe there is more to fix first in my approach. Currently this PR might do...