crates/oxc_macros/README.md
Procedural macros for declaring lint rules and other oxc components.
This crate provides procedural macros that simplify the declaration and implementation of lint rules and other oxc components. These macros reduce boilerplate code and ensure consistent patterns across the codebase.
declare_oxc_lint!: Macro for declaring lint rules with metadataThe macros generate:
Rule documentation is automatically extracted and used to build the oxc website documentation, ensuring that rule descriptions stay in sync with implementation.
This macro system enables rapid development of new lint rules while maintaining high quality and consistency.