# noSolidDestructuredProps

Rule `biome/noSolidDestructuredProps`. Disallow destructuring props inside JSX components in Solid projects.

- Source: biome
- Technologies: Solid
- Kind: correctness
- Needs type information: no
- Autofix: no
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1939 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `correctness/noSolidDestructuredProps` | no | no | group correctness, since 2.0.0 | [docs](https://biomejs.dev/linter/rules/no-solid-destructured-props/) |

## Code examples

### Incorrect: the rule reports this

```jsx
let Component = ({}) => <div />;
```

```jsx
let Component = ({ a: A }) => <div a={A} />;
```

```tsx
let Component = ({ prop1 }: Props) => <div p1={prop1} />;
```

### Correct: the rule accepts this

```jsx
let Component = (props) => <div />;
```

```jsx
let Component = (props) => <div a={props.a} />;
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "correctness": {
        "noSolidDestructuredProps": "error"
      }
    }
  }
}
```

## Related rules

- [biome/noShortTimeValues](https://lintradar.dev/rules/biome/noShortTimeValues.md): Disallow animation and transition times that are shorter than a configured minimum.
- [biome/noSvelteIgnoredUnsubscribe](https://lintradar.dev/rules/biome/noSvelteIgnoredUnsubscribe.md): Disallow ignoring the function returned by a store's `subscribe()` method.
- [biome/noSelfNestedLayer](https://lintradar.dev/rules/biome/noSelfNestedLayer.md): Disallow nesting a cascade layer inside a layer with the same name.
- [biome/noSvelteLegacyConst](https://lintradar.dev/rules/biome/noSvelteLegacyConst.md): Disallow legacy Svelte `{@const}` tags.
- [biome/noSecrets](https://lintradar.dev/rules/biome/noSecrets.md): Disallow usage of sensitive data such as API keys and tokens.
- [biome/noTailwindArbitraryValue](https://lintradar.dev/rules/biome/noTailwindArbitraryValue.md): Disallow arbitrary values in Tailwind CSS utility classes.

---

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