1.1.14 • Published 3 years ago

lightningflowscan-core v1.1.14

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Lightning Flow Scan(Core)

Find bugs and optimise Salesforce Lightning Flows.

Core module

Used in both the VSCode extension as well as SFDX plugin with the same name.

Rules(Currently included):

  "DML statements in a loop",
  "Duplicate DML operations",
  "Hardcoded Ids",
  "Missing flow description",
  "Missing error handlers",
  "Missing null handlers",
  "Unconnected elements",
  "Unused variables"

Functions

getRuleDefinitions(ruleNames? : string[]): IRuleDefinition[];

Returns all rules if there are no ruleNames specified. In case ruleNames are specified, it will only return rules which are included by name.

scan(flows :Flow[], ruleNames? : string[]): ScanResult[];

Runs all rules if there are no ruleNames specified. In case ruleNames are specified, it will only run rules which are included by name.

fix(flows :Flow[]): Flow[];

Removes unused variables and unconnected elements from all selected flows.

1.1.14

3 years ago

1.1.13

3 years ago

1.1.12

3 years ago

1.1.11

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago