Refactor: Use calciteInternal prefix for internal events #2256
Labels
4 - verified
Issues that have been released and confirmed resolved.
convention
Issues relating to conventions and best practices.
good first issue
Issues that can be worked on by contributors new to calcite-components.
help wanted
Issues that the core team needs help with in a sprint.
p - low
Issue is non core or affecting less that 10% of people using the library
refactor
Issues tied to code that needs to be significantly reworked.
Milestone
Description
For clarity and to minimize unintentional usage, internal events should:
calciteInternal
prefix to make it easier to distinguish between internal/external events. Most internal events should be identifiable by the@internal
JSDoc tag.Sidebar, an ESLint rule can be authored to catch all internal events that did not have
stopPropagation
/stopImmediatePropagation
called. This would be handled in https://github.com/Esri/eslint-plugin-calcite-components.The text was updated successfully, but these errors were encountered: