Skip to content

Commit

Permalink
update rule titles
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenHalman committed Nov 7, 2023
1 parent 53e3a2e commit cb40f04
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
## Rules

- [Outdated API Version](#outdated-api-version)
- [Copy of API Name](#copy-of-api-name)
- [DML statements in a loop](#dml-statements-in-a-loop)
- [Duplicate DML operations](#duplicate-dml-operations)
- [Missing flow description](#missing-flow-description)
- [Flow naming conventions](#flow-naming-conventions)
- [Hardcoded Ids](#hardcoded-ids)
- [Missing fault path](#missing-fault-path)
- [Missing null handlers](#missing-null-handlers)
- [Unconnected elements](#unconnected-elements)
- [Unused variables](#unused-variables)
- [Copy API Name](#copy-api-name)
- [DML Statement In A Loop'](#dml-statement-in-a-loop)
- [Duplicate DML Operation](#duplicate-dml-operation)
- [Missing Flow Description](#missing-flow-description)
- [Flow Naming Convention](#flow-naming-convention)
- [Hardcoded Id](#hardcoded-id)
- [Missing Fault Path](#missing-fault-path)
- [Missing Null Handler](#missing-null-handler)
- [Unconnected Element](#unconnected-element)
- [Unused Variable](#unused-variable)

___

Expand Down
2 changes: 1 addition & 1 deletion src/main/rules/CopyAPIName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class CopyAPIName extends RuleCommon implements IRuleDefinition {
constructor() {
super({
name: 'CopyAPIName',
label: 'Copy Of API Name',
label: 'Copy API Name',
description: "Maintaining multiple elements with a similar name, like 'Copy_X_Of_Element,' can diminish the overall readability of your Flow. When copying and pasting these elements, it's crucial to remember to update the API name of the newly created copy.",
type: 'pattern',
supportedTypes: FlowType.allTypes(),
Expand Down
2 changes: 1 addition & 1 deletion src/main/rules/DMLStatementInLoop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class DMLStatementInLoop extends RuleCommon implements IRuleDefinition {
constructor() {
super({
name: 'DMLStatementInLoop',
label: 'DML statement in a loop',
label: 'DML Statement In A Loop',
description: "To prevent exceeding Apex governor limits, it is advisable to consolidate all your record-related operations, including creation, updates, or deletions, at the conclusion of the flow.",
type: 'pattern',
supportedTypes: [...FlowType.backEndTypes, ...FlowType.visualTypes],
Expand Down
2 changes: 1 addition & 1 deletion src/main/rules/MissingFaultPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class MissingFaultPath extends RuleCommon implements IRuleDefinition {
constructor() {
super({
name: 'MissingFaultPath',
label: 'Missing error handlers',
label: 'Missing Fault Path',
description: "At times, a flow may fail to execute a configured operation as intended. By default, the flow displays an error message to the user and notifies the admin who created the flow via email. However, you can customize this behavior by incorporating a Fault Path.",
type: 'pattern',
supportedTypes: [...FlowType.backEndTypes, ...FlowType.visualTypes],
Expand Down

0 comments on commit cb40f04

Please sign in to comment.