Skip to content

feat: add new rule private-states#256

Open
jpradelle wants to merge 1 commit into
43081j:masterfrom
jpradelle:state-private
Open

feat: add new rule private-states#256
jpradelle wants to merge 1 commit into
43081j:masterfrom
jpradelle:state-private

Conversation

@jpradelle

@jpradelle jpradelle commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Add a new rule to enforce component reactive states to be private or protected

As defined in lit documentation https://lit.dev/docs/components/properties/#internal-reactive-state

Internal reactive state refers to reactive properties that are not part of the component's public API.
 These state properties don't have corresponding attributes, and aren't intended to be used from
 outside the component. Internal reactive state should be set by the component itself.

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.

1 participant