diff --git a/packages/docs/content/docs/api/configuration/eslint-plugin.mdx b/packages/docs/content/docs/api/configuration/eslint-plugin.mdx index febb9c37c..4070ee3fe 100644 --- a/packages/docs/content/docs/api/configuration/eslint-plugin.mdx +++ b/packages/docs/content/docs/api/configuration/eslint-plugin.mdx @@ -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; +}; +``` + ### `@stylexjs/no-legacy-contextual-styles` rule ```ts