Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/docs/content/docs/api/configuration/eslint-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,19 @@ type Options = {
};
```

### `@stylexjs/no-conflicting-props` rule

Disallows using `className` or `style` props on elements that spread `stylex.props()`, which would cause conflicts.

```ts
type Options = {
// Possible strings where you can import stylex from
//
// Default: ['stylex', '@stylexjs/stylex']
validImports: Array<string | { from: string; as: string }>;
};
```

### `@stylexjs/no-legacy-contextual-styles` rule

```ts
Expand Down
Loading