# capitalized-calls

Rule `react-hooks/capitalized-calls`. Validates against calling capitalized functions/methods instead of using JSX

- Source: react-hooks
- Technologies: React
- Kind: suspicious
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1707 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `react-hooks/capitalized-calls` | no | safe | package `eslint-plugin-react-hooks` | [docs](https://react.dev/reference/eslint-plugin-react-hooks/lints/capitalized-calls) |
| Oxlint | `react/capitalized-calls` | no | no | plugin `react`, category suspicious | [docs](https://oxc.rs/docs/guide/usage/linter/rules/react/capitalized-calls.html) |

## Enable it

### ESLint: `eslint.config.js`

```js
import reactHooks from "eslint-plugin-react-hooks";

export default [
  {
    plugins: { "react-hooks": reactHooks },
    rules: {
      "react-hooks/capitalized-calls": "error",
    },
  },
];
```

### Oxlint: `.oxlintrc.json`

```json
{
  "plugins": [
    "react"
  ],
  "rules": {
    "react/capitalized-calls": "error"
  }
}
```

## Related rules

- [react-hooks/exhaustive-effect-dependencies](https://lintradar.dev/rules/react-hooks/exhaustive-effect-dependencies.md): Validates that effect dependencies are exhaustive and without extraneous values
- [react-hooks/hooks](https://lintradar.dev/rules/react-hooks/hooks.md): Validates the rules of hooks
- [react-hooks/invariant](https://lintradar.dev/rules/react-hooks/invariant.md): Internal invariants
- [react-hooks/memo-dependencies](https://lintradar.dev/rules/react-hooks/memo-dependencies.md): Validates that useMemo() and useCallback() specify comprehensive dependencies without extraneous values. See `useMemo()` docs for more information.
- [react-hooks/no-deriving-state-in-effects](https://lintradar.dev/rules/react-hooks/no-deriving-state-in-effects.md): Validates against deriving values from state in an effect
- [react-hooks/rule-suppression](https://lintradar.dev/rules/react-hooks/rule-suppression.md): Validates against suppression of other rules

---

Web page: https://lintradar.dev/rules/react-hooks/capitalized-calls. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
