Skip to content

Commit e9e1b0e

Browse files
committed
remove LFS rule 121 and 119 #625
1 parent 85bf2c1 commit e9e1b0e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

build/src/api/core/orgcheck-api-secretsauce.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -868,14 +868,6 @@ const ALL_SCORE_RULES = [
868868
badField: 'currentVersionRef.lfsViolations',
869869
applicable: [ SFDC_Flow ],
870870
category: SCORE_RULE_CATEGORIES.DOCUMENTATION
871-
}, {
872-
id: 119,
873-
description: '[LFS] Cyclomatic Complexity',
874-
formula: (/** @type {SFDC_Flow} */ d) => d?.currentVersionRef?.lfsViolations?.includes('CyclomaticComplexity') || false,
875-
errorMessage: `This flow has high cyclomatic complexity. Consider breaking it into subflows or multiple trigger-ordered flows.`,
876-
badField: 'currentVersionRef.lfsViolations',
877-
applicable: [ SFDC_Flow ],
878-
category: SCORE_RULE_CATEGORIES.CODE_QUALITY
879871
}, {
880872
id: 120,
881873
description: '[LFS] Same Record Field Updates',
@@ -884,14 +876,6 @@ const ALL_SCORE_RULES = [
884876
badField: 'currentVersionRef.lfsViolations',
885877
applicable: [ SFDC_Flow ],
886878
category: SCORE_RULE_CATEGORIES.CODE_QUALITY
887-
}, {
888-
id: 121,
889-
description: '[LFS] Missing Trigger Order',
890-
formula: (/** @type {SFDC_Flow} */ d) => d?.currentVersionRef?.lfsViolations?.includes('TriggerOrder') || false,
891-
errorMessage: `This record-triggered flow doesn't have a trigger order specified. Set explicit execution priority.`,
892-
badField: 'currentVersionRef.lfsViolations',
893-
applicable: [ SFDC_Flow ],
894-
category: SCORE_RULE_CATEGORIES.CODE_QUALITY
895879
}, {
896880
id: 122,
897881
description: '[LFS] Missing Metadata Description',

0 commit comments

Comments
 (0)