Skip to content

Conversation

@layershifter
Copy link
Member

@layershifter layershifter commented Jul 3, 2025

This pull request addresses a bug in the @fluentui-contrib/stylelint-plugin package by expanding the list of allowed pseudo-classes in the combinator depth rule. The changes ensure better compatibility with modern CSS practices.

Bug Fix:

@layershifter layershifter marked this pull request as ready for review July 3, 2025 08:20
@layershifter layershifter requested a review from a team as a code owner July 3, 2025 08:20
import { createRule } from '../../create-rule';
import { normalizeRuleName } from '../../normalize-rule-name';

const ALLOWED_PSEUDO_CLASSES = [':hover', ':active', ':focus', ':focus-within'];
Copy link
Contributor

@ling1726 ling1726 Jul 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this be updated to a rule config to remove the dependency on a code release for users?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants