This section contains comprehensive coding standards and best practices for Salesforce development within the component library.

Available Standards

  • Apex Coding Standards

    • Comprehensive coding standards and best practices for Apex development within the Salesforce component library
  • LWC Coding Standards

    • Comprehensive coding standards and best practices for Lightning Web Component (LWC) development within the Salesforce component library
  • Testing Standards

    • Comprehensive testing standards and best practices for both Apex and Lightning Web Component (LWC) testing within the Salesforce component library

Overview

These standards ensure consistency, maintainability, security, accessibility, and quality across all Salesforce code. All code must comply with these standards and pass Salesforce Code Analyzer validation using the project's ruleset.