Skip to content

Commit

Permalink
deprecate: deprecate require-event-emitter-type rule (#10638)
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 28, 2024
1 parent d7c9321 commit 2eb7409
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 @@
# require-event-emitter-type

**Deprecated** This rule is deprecated and will be removed in a future release. Event typing has been improved and is no longer needed.

This rule helps enforce the payload type to `EventEmitter`s to avoid misleading `any` type on the `CustomEvent` detail object.

## Config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { stencilComponentContext } from "stencil-eslint-core";

const rule: Rule.RuleModule = {
meta: {
deprecated: true,
docs: {
description:
"This rule helps enforce the payload type to EventEmitters to avoid misleading `any` type on the CustomEvent detail object.",
Expand Down

0 comments on commit 2eb7409

Please sign in to comment.