# noReactSpecificProps

Rule `biome/noReactSpecificProps`. Prevents React-specific JSX properties from being used.

- Source: biome
- Technologies: Solid, Qwik
- Kind: suspicious
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 30.6M weekly downloads of presets that enable it
- Trend: +109.3% last quarter
- Rank: #538 by reach, #173 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `suspicious/noReactSpecificProps` | yes | safe | group suspicious, since 1.7.2 | [docs](https://biomejs.dev/linter/rules/no-react-specific-props/) |

## Code examples

### Incorrect: the rule reports this

```jsx
<Hello className="John" />
```

### Correct: the rule accepts this

```jsx
<Hello class="Doe" />
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "suspicious": {
        "noReactSpecificProps": "error"
      }
    }
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [Biome recommended](https://lintradar.dev/presets/biome-recommended.md) | Biome | `@biomejs/biome` | 491 | 28.5M | +106.8% |
| [Ultracite for Biome](https://lintradar.dev/presets/ultracite-biome.md) | Biome | `ultracite` | 616 | 2.1M | +151.7% |

## Related rules

- [biome/noReactNativeRawText](https://lintradar.dev/rules/biome/noReactNativeRawText.md): Disallow raw text outside `<Text>` components in React Native.
- [biome/noRedundantUseStrict](https://lintradar.dev/rules/biome/noRedundantUseStrict.md): Prevents from having redundant `"use strict"`.
- [biome/noReactNativeDeepImports](https://lintradar.dev/rules/biome/noReactNativeDeepImports.md): Disallow deep imports from the `react-native` package.
- [biome/noScssNullComparison](https://lintradar.dev/rules/biome/noScssNullComparison.md): Disallow comparing values to `null` in Sass `@if` conditions.
- [biome/noQwikUseVisibleTask](https://lintradar.dev/rules/biome/noQwikUseVisibleTask.md): Disallow `useVisibleTask$()` functions in Qwik components.
- [biome/noShorthandPropertyOverrides](https://lintradar.dev/rules/biome/noShorthandPropertyOverrides.md): Disallow shorthand properties that override earlier, more specific properties.

---

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