> For AI agents: the complete documentation index is available at https://rslint.rs/llms.txt, the full documentation bundle is available at https://rslint.rs/llms-full.txt.

# jsx-props-no-multi-spaces

[Added in v0.3.0](https://github.com/web-infra-dev/rslint/releases/tag/v0.3.0)
## Configuration


```ts title=rslint.config.ts
import { defineConfig, reactPlugin } from '@rslint/core';

export default defineConfig([
  reactPlugin.configs.recommended,
  {
    rules: {
      'react/jsx-props-no-multi-spaces': 'error',
    },
  },
]);
```

## Rule Details

Disallow multiple spaces between inline JSX props and blank lines between multiline JSX props.

Examples of **incorrect** code for this rule:

```jsx
<Foo  bar="baz" />
<Foo bar="baz"  bam="qux" />
```

Examples of **correct** code for this rule:

```jsx
<Foo bar="baz" />
<Foo bar="baz" bam="qux" />
<Foo
  bar="baz"
  bam="qux"
/>
```

## Original Documentation

- [eslint-plugin-react: jsx-props-no-multi-spaces](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.37.5/docs/rules/jsx-props-no-multi-spaces.md)
- [Source code](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.37.5/lib/rules/jsx-props-no-multi-spaces.js)
