ESLint plugin (v1.0.5) that disallows inline styles in React JSX by flagging the style attribute. This is a minimal plugin with a single rule and no active maintenance; the last release dates from 2019. It offers no configuration beyond enabling/disabling and uses a simple regex check, which can be bypassed by using string literal style objects. Not recommended for production use; consider alternatives like eslint-plugin-react or stylelint.
npm install eslint-plugin-no-inline-stylesVerified import paths — ran on the pinned version, not inferred.
Install the plugin and configure ESLint to disallow inline styles in JSX.
Use alternative rules like 'react/forbid-component-props' or 'react/jsx-no-style'.
Add additional custom rule or use a more robust plugin that also checks string literals.
Downgrade ESLint to 6.x or use a maintained plugin.
Uninstall this plugin and use a supported alternative.
npm install --save-dev eslint-plugin-no-inline-styles
Add "no-inline-styles" to the plugins array in .eslintrc.