react/rules-of-hooks Pedantic ​
What it does ​
This enforces the Rules of Hooks
https://reactjs.org/docs/hooks-rules.html
How to use ​
To enable this rule in the CLI or using the config file, you can use:
bash
oxlint --deny react/rules-of-hooks
json
{
"rules": {
"react/rules-of-hooks": "error"
}
}