**Describe the bug** <!-- A clear and concise description of what the bug is. --> At times, the `no-css-color` rule misfires, especially with the `border`. Example: <img width="1035" height="133" alt="Image" src="https://github.com/user-attachments/assets/b4a92ac6-54b6-4a03-b525-6307fea39c62" /> **Code:** - https://github.com/elastic/kibana/blob/ae4161616205137b72314e0dd588540b6720c091/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree_node.styles.tsx#L38-L41 - https://github.com/elastic/kibana/blob/ae4161616205137b72314e0dd588540b6720c091/x-pack/platform/plugins/shared/searchprofiler/public/application/components/percentage_badge/percentage_badge.tsx#L27-L32 **Impact and severity** <!-- Is there an end-user impact caused by this bug? If so, how severe is it? Is there a known workaround? Understanding the impact and severity will help us determine the priority. --> **Low** severity, **low** impact. False-positive warnings are annoying to devs. A warning can be ignored or muted with ESLint disable comment. **To Reproduce** <!-- NOTE: If you were unable to provide a Minimum reproduceable sandbox, and this issue is for Kibana, please be sure to include detailed instruction on how to reproduce this in Kibana, including how to load any test data neceessary. Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error --> 1. Checkout Kibana. 2. Look at the code mentioned above ☝🏻 3. Notice that linter highlights the lines incorrectly. **Expected behavior** The rule doesn't misfire.
Activity
[#9076] [Eslint] Fix: Allow CSS keywords in `no-css-color` ESLint rule (
[#9076] [Eslint] Fix: Allow CSS keywords in `no-css-color` ESLint rule (