An ESLint plugin providing custom lint rules for projects using the Wix Style React library. Current version is 1.0.418. It enforces best practices and prevents common mistakes specific to wix-style-react components, such as avoiding full library imports. The package is maintained by Wix and follows ESLint plugin conventions. It is designed for Node.js environments (>=0.10.0) and requires ESLint as a peer dependency. Key differentiator: it focuses on Wix's internal React component library, offering rules not found in general React lint plugins.
npm install eslint-plugin-wix-style-reactNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures ESLint to use the plugin and enable a sample rule that prevents importing the full Wix Style React library.
Use .eslintrc or .eslintrc.json for configuration, or check for plugin updates supporting flat config.
Use Node >= 12 or check for newer plugin versions with updated engine requirements.
Submit issues through Wix support or internal channels.
Pin plugin version and test after updates.
Run 'npm install eslint-plugin-wix-style-react --save-dev' and ensure it is in the project's dependencies.
Use string severity 'error' instead of number: 'wix-style-react/no-full-wsr-lib': 'error'