Skip to content

vjsolanki/eslint-plugin-no-inline-style

Repository files navigation

eslint-plugin-jsx-no-inline-style

ESlint plugin to disallow inline styles in jsx.


Usage:

Install

npm install eslint-plugin-jsx-no-inline-style

Step 1: Add the plugin in ESLint Config

{
	"plugins": ["jsx-no-inline-style"]
}

Step 2: Add the Plugin's rule

{
	"rules": {
		"jsx-no-inline-style/no-inline-style": "error"
	}
}

ESLint Plugin Guide: https://www.alibabacloud.com/blog/write-eslint-rules-that-meet-needs_599280

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published