Skip to content

Commit

Permalink
deprecate: deprecate ban-props-on-host rule (#10642)
Browse files Browse the repository at this point in the history
**Related Issue:** #10398

## Summary

Deprecates this rule for 3.x removal as it is no longer needed after
#10310.
  • Loading branch information
jcfranco authored Oct 29, 2024
1 parent 963baec commit cb04913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ban-props-on-host

**Deprecated** This rule is deprecated and will be removed in a future release. This rule's primary use case will no longer exist after issue #10310 lands.

Ensures that a Component's `tag` does not use any of the given props-on-host.

## Config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const allowedAttributeName = (attributeName: string): boolean =>

const rule: Rule.RuleModule = {
meta: {
deprecated: true,
docs: {
description: "This rule catches usage of banned props on <Host>.",
category: "Possible Errors",
Expand Down

0 comments on commit cb04913

Please sign in to comment.