All Collections
Rule documentation
Naming conventions
Naming conventions on Aura Controller Property
Naming conventions on Aura Controller Property

Keep your Aura property names consistent and easy to read and maintain.

Gabriele Gallo Stampino avatar
Written by Gabriele Gallo Stampino
Updated over a week ago

Rationale

Naming convention help drive consistency across the codebase, which makes it easier to read and understand source code.

Scope

  • Aura Controller Properties

Configurations

  • Pattern. Use a regular expression to define the validation pattern for your Aura controller properties.

  • Hint. Add a hint to be displayed when a detection is flagged, in order to give developers a tangible example of a name that suits naming convention. (Warning: the hint is not validated, make sure it matches your validation pattern before adding it).

Exclusions

  • This rule will not fire on test classes

Did this answer your question?