-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[Feature]: Propagate enforce-use-client workspace rule to public @fluentui/eslint-plugin-react-components
#35190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: dmytrokirpa <[email protected]>
|
@copilot the rule should go to @fluentui/eslint-plugin-react-components instead of @fluentui/eslint-plugin |
Co-authored-by: dmytrokirpa <[email protected]>
Done! Moved the rule from The rule is now:
Changes in commit d0371fa. |
enforce-use-client workspace rule to publicenforce-use-client workspace rule to public @fluentui/eslint-plugin-react-components
📊 Bundle size report✅ No changes found |
|
Pull request demo site: URL |
Successfully propagated the
enforce-use-clientworkspace rule to the public@fluentui/eslint-plugin-react-componentspackage. The rule is now available for external users and provides the same functionality as the internal version.📦 What was implemented:
Rule Features:
Implementation Details:
@fluentui/eslint-plugin-react-components(the public v9 plugin, not the private v8 plugin)createRuleutilityTesting Results:
@fluentui/react-components/enforce-use-client🚀 Usage:
External users can now add the rule to their ESLint config:
{ "plugins": ["@fluentui/react-components"], "rules": { "@fluentui/react-components/enforce-use-client": "error" } }📍 Package Location:
The rule is published in
@fluentui/eslint-plugin-react-components, which is:Fixes #35189.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.