Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>React-Luau DoctorNew to Visual Studio Code? Get it now.
React-Luau Doctor

React-Luau Doctor

Kohl

|
1 install
| (0) | Free
Live and deep diagnostics for React-Luau projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React-Luau Doctor

Catch React-Luau mistakes as you code, including hooks after early returns, stale state in callbacks, and unnecessary rerenders

Using Doctor

Open your project folder and a .luau or .lua file to start Doctor

Hover a finding for an explanation and example. Quick Fix offers inline disables and project-wide rule disables when a finding doesn't suit your code

Choosing rules

Set rule severities in react-luau-doctor.config.json in your project root:

{
  "rules": {
    "react-luau/no-array-index-as-key": "off",
    "react-luau/no-set-state-in-render": "error"
  }
}

Rules accept off, error, warning, or suggestion for severities, the extension autocompletes rule IDs and config options for you.

See the rule list for a list of all rules

Extension settings

Doctor only looks at open files by default, enable reactLuauDoctor.workspaceScan to scan unopened files too

Open files are scanned even if your config excludes them by default, enable reactLuauDoctor.respectFileFilters to apply include/ignore filters to those files too

More options are available in the extension settings

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft