francoismassart / eslint-plugin-tailwindcss

ESLint plugin for Tailwind CSS usage
https://www.npmjs.com/package/eslint-plugin-tailwindcss
MIT License
1.47k stars 70 forks source link

No internal styles rule proposal #311

Open georgyangelov opened 8 months ago

georgyangelov commented 8 months ago

Proposal for a rule restricting breaking component encapsulation through style props

Description

First, this is a very crude WIP to see if you would accept such a rule. If you agree it's a good candidate I'll clean up the code and make it merge-ready. Please let me know what you think

Please see the docs/rules/no-internal-style.md file for an explanation of what the rule does.

Type of change

Please delete options that are not relevant.

Checklist: