Validation Rules Used at Save Time
The following rules are used for validations that are done when you save your Aura
component code.
Validation failures for any of these rules prevents saving changes to your code.
Lightning Platform Rules
These rules are specific to Aura component JavaScript code. These custom rules are written and maintained by Salesforce.
- Validate Aura API ( aura-api ) )
- This rule verifies that use of the framework APIs is according to the published documentation. The use of undocumented or private features is disallowed.
- Validate Secure Document Public API ( secure-document ) )
- This rule validates that only supported functions and properties of the document global are accessed.
- Validate Secure Window Public API ( secure-window ) )
- This rule validates that only supported functions and properties of the window global are accessed.