Skip to content

Rule proposal: private-property-names #246

Open
@michalsnik

Description

@michalsnik

According to the Style Guide we should warn about following keys:

  • _foo
  • $foo

and encourage to prefix private properties with $_ (e.g. $_foo).

This rule could live alongside no-reserved-keys, but we might as well keep only this rule, to not duplicate warnings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions