Skip to content

Conversation

@stephen-carter-at-sf
Copy link
Contributor

Updates this month bring in 2 new rules:

  • 1 for PMD:

    {
        "name": "AnnotationsNamingConventions",
        "severityLevel": 4,
        "tags": [
          "Recommended",
          "CodeStyle",
          "Apex"
        ],
        "description": "Apex, while case-insensitive, benefits from a consistent code style to improve readability and maintainability. Enforcing PascalCase for annotations aligns with the established conventions and reduces ambiguity - promoting a unified coding standard.",
        "resourceUrls": [
          "https://docs.pmd-code.org/pmd-doc-{{PMD_VERSION}}/pmd_rules_apex_codestyle.html#annotationsnamingconventions"
        ]
      }
    
  • 1 for ESLINT:

    {
        "description": "Disallow losing originally caught error when re-throwing custom errors",
        "name": "preserve-caught-error",
        "resourceUrls": [
          "https://eslint.org/docs/latest/rules/preserve-caught-error"
        ],
        "severityLevel": 4,
        "tags": [
          "BestPractices",
          "JavaScript",
          "TypeScript"
        ]
    }
    

Copy link
Contributor

@randi274 randi274 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice upgrades!

@stephen-carter-at-sf stephen-carter-at-sf merged commit 606c632 into dev Sep 16, 2025
7 checks passed
@stephen-carter-at-sf stephen-carter-at-sf deleted the sc/W-19276297 branch September 16, 2025 19:48
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.

3 participants