Open robcaldecott opened 4 months ago
Describe the bug When using two arbitary bg class names the plugin generates a tailwindcss/no-contradicting-classname error.
bg
tailwindcss/no-contradicting-classname
For example:
<div className="bg-[size:20px_20px] bg-[position:right_16px_center]" />
This is valid and will generate:
background-size: 20px 20px; background-position: right 16px center;
Expected behavior This lint error should not appear.
Screenshots
Environment (please complete the following information):
Describe the bug When using two arbitary
bg
class names the plugin generates atailwindcss/no-contradicting-classname
error.For example:
This is valid and will generate:
Expected behavior This lint error should not appear.
Screenshots![image](https://github.com/francoismassart/eslint-plugin-tailwindcss/assets/796702/f2226358-d597-4416-b2b7-06119cbd0b28)
Environment (please complete the following information):