@flow-scanner/lightning-flow-scanner-core 6.16.1 β 6.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +213 -186
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,183 +55,214 @@
|
|
|
55
55
|
|
|
56
56
|
> Want to help improve this project? See our [Contributing Guidelines](https://github.com/Flow-Scanner/lightning-flow-scanner?tab=contributing-ov-file)
|
|
57
57
|
|
|
58
|
-
<!-- START GENERATED_RULES -->
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
**
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
**
|
|
85
|
-
**
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
**Rule ID:** `
|
|
91
|
-
**Class Name:** _[
|
|
92
|
-
**Severity:** π΄ *Error*
|
|
93
|
-
|
|
94
|
-
####
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
**
|
|
98
|
-
**
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
**
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
####
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
**
|
|
133
|
-
**
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
**
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
**
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
**
|
|
168
|
-
**
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
**Rule ID:** `
|
|
174
|
-
**Class Name:** _[
|
|
175
|
-
**Severity:**
|
|
176
|
-
|
|
177
|
-
#### Record
|
|
178
|
-
Flows
|
|
179
|
-
|
|
180
|
-
**
|
|
181
|
-
**
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
**
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
**
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
**
|
|
203
|
-
**
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
**Rule ID:** `
|
|
209
|
-
**Class Name:** _[
|
|
210
|
-
**Severity:**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
####
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
**
|
|
222
|
-
**
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
**
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
58
|
+
<!-- START GENERATED_RULES -->
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### Problems
|
|
63
|
+
|
|
64
|
+
These rules detect anti-patterns and unsafe practices in your Flows that could break functionality, compromise security, or cause deployment failures.
|
|
65
|
+
|
|
66
|
+
#### DML Statement In A Loop
|
|
67
|
+
Executing DML operations (insert, update, delete) inside a loop is a high-risk anti-pattern that frequently causes governor limit exceptions. All database operations should be collected and executed once, outside the loop.
|
|
68
|
+
|
|
69
|
+
**Rule ID:** `dml-in-loop`
|
|
70
|
+
**Class Name:** _[DMLStatementInLoop](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/DMLStatementInLoop.ts)_
|
|
71
|
+
**Severity:** π΄ *Error*
|
|
72
|
+
|
|
73
|
+
#### Hardcoded Id
|
|
74
|
+
Avoid hard-coding record IDs, as they are unique to a specific org and will not work in other environments. Instead, store IDs in variablesβsuch as merge-field URL parameters or a **Get Records** elementβto make the Flow portable, maintainable, and flexible.
|
|
75
|
+
|
|
76
|
+
**Rule ID:** `hardcoded-id`
|
|
77
|
+
**Class Name:** _[HardcodedId](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/HardcodedId.ts)_
|
|
78
|
+
**Severity:** π΄ *Error*
|
|
79
|
+
|
|
80
|
+
#### Hardcoded Url
|
|
81
|
+
Avoid hard-coding URLs, as they may change between environments or over time. Instead, store URLs in variables or custom settings to make the Flow adaptable, maintainable, and environment-independent.
|
|
82
|
+
|
|
83
|
+
**Rule ID:** `hardcoded-url`
|
|
84
|
+
**Class Name:** _[HardcodedUrl](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/HardcodedUrl.ts)_
|
|
85
|
+
**Severity:** π΄ *Error*
|
|
86
|
+
|
|
87
|
+
#### Process Builder
|
|
88
|
+
Process Builder is retired. Continuing to use it increases maintenance overhead and risks future compatibility issues. Migrating automation to Flow reduces risk and improves maintainability.
|
|
89
|
+
|
|
90
|
+
**Rule ID:** `process-builder-usage`
|
|
91
|
+
**Class Name:** _[ProcessBuilder](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/ProcessBuilder.ts)_
|
|
92
|
+
**Severity:** π΄ *Error*
|
|
93
|
+
|
|
94
|
+
#### SOQL Query In A Loop
|
|
95
|
+
Running SOQL queries inside a loop can rapidly exceed query limits and severely degrade performance. Queries should be executed once, with results reused throughout the loop.
|
|
96
|
+
|
|
97
|
+
**Rule ID:** `soql-in-loop`
|
|
98
|
+
**Class Name:** _[SOQLQueryInLoop](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/SOQLQueryInLoop.ts)_
|
|
99
|
+
**Severity:** π΄ *Error*
|
|
100
|
+
|
|
101
|
+
#### Unsafe Running Context
|
|
102
|
+
Flows configured to run in System Mode without Sharing grant access to all data, bypassing user permissions. Avoid this setting to prevent security risks and protect sensitive data.
|
|
103
|
+
|
|
104
|
+
**Rule ID:** `unsafe-running-context`
|
|
105
|
+
**Class Name:** _[UnsafeRunningContext](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/UnsafeRunningContext.ts)_
|
|
106
|
+
**Severity:** π΄ *Error*
|
|
107
|
+
|
|
108
|
+
#### Duplicate DML Operation
|
|
109
|
+
When a Flow performs database operations across multiple screens, users navigating backward can cause the same actions to run multiple times. To prevent unintended changes, either restrict backward navigation or redesign the Flow so database operations execute in a single, forward-moving step.
|
|
110
|
+
|
|
111
|
+
**Rule ID:** `duplicate-dml`
|
|
112
|
+
**Class Name:** _[DuplicateDMLOperation](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/DuplicateDMLOperation.ts)_
|
|
113
|
+
**Severity:** π‘ *Warning*
|
|
114
|
+
|
|
115
|
+
#### Missing Fault Path
|
|
116
|
+
Elements that can fail should include a Fault Path to handle errors gracefully. Without it, failures show generic errors to users. Fault Paths improve reliability and user experience.
|
|
117
|
+
|
|
118
|
+
**Rule ID:** `missing-fault-path`
|
|
119
|
+
**Class Name:** _[MissingFaultPath](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/MissingFaultPath.ts)_
|
|
120
|
+
**Severity:** π‘ *Warning*
|
|
121
|
+
|
|
122
|
+
#### Missing Null Handler
|
|
123
|
+
Get Records operations return null when no data is found. Without handling these null values, Flows can fail or produce unintended results. Adding a null check improves reliability and ensures the Flow behaves as expected.
|
|
124
|
+
|
|
125
|
+
**Rule ID:** `missing-null-handler`
|
|
126
|
+
**Class Name:** _[MissingNullHandler](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/MissingNullHandler.ts)_
|
|
127
|
+
**Severity:** π‘ *Warning*
|
|
128
|
+
|
|
129
|
+
#### Recursive After Update
|
|
130
|
+
After-save Flows that update the same record can trigger recursion, causing unintended behavior or performance issues. Avoid updating the triggering record in after-save Flows; use before-save Flows instead to prevent recursion.
|
|
131
|
+
|
|
132
|
+
**Rule ID:** `recursive-record-update`
|
|
133
|
+
**Class Name:** _[RecursiveAfterUpdate](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/RecursiveAfterUpdate.ts)_
|
|
134
|
+
**Severity:** π‘ *Warning*
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
### Suggestions
|
|
139
|
+
|
|
140
|
+
These rules highlight areas where Flows can be improved. Following them increases reliability and long-term maintainability.
|
|
141
|
+
|
|
142
|
+
#### Action Call In A Loop
|
|
143
|
+
Repeatedly invoking Apex actions inside a loop can exhaust governor limits and lead to performance issues. Where possible, bulkify your logic by moving the action call outside the loop and passing a collection variable instead.
|
|
144
|
+
|
|
145
|
+
**Rule ID:** `action-call-in-loop`
|
|
146
|
+
**Class Name:** _[ActionCallsInLoop](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/ActionCallsInLoop.ts)_
|
|
147
|
+
**Severity:** π‘ *Warning*
|
|
148
|
+
|
|
149
|
+
#### Get Record All Fields
|
|
150
|
+
Avoid using Get Records to retrieve all fields unless necessary. This improves performance, reduces processing time, and limits exposure of unnecessary data.
|
|
151
|
+
|
|
152
|
+
**Rule ID:** `get-record-all-fields`
|
|
153
|
+
**Class Name:** _[GetRecordAllFields](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/GetRecordAllFields.ts)_
|
|
154
|
+
**Severity:** π‘ *Warning*
|
|
155
|
+
|
|
156
|
+
#### Inactive Flow
|
|
157
|
+
Inactive Flows should be deleted or archived to reduce risk. Even when inactive, they can cause unintended record changes during testing or be activated as subflows. Keeping only active, relevant Flows improves safety and maintainability.
|
|
158
|
+
|
|
159
|
+
**Rule ID:** `inactive-flow`
|
|
160
|
+
**Class Name:** _[InactiveFlow](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/InactiveFlow.ts)_
|
|
161
|
+
**Severity:** π‘ *Warning*
|
|
162
|
+
|
|
163
|
+
#### Invalid API Version
|
|
164
|
+
Flows running on outdated API versions may behave inconsistently when newer platform features or components are used. From API version 50.0 onward, the API Version attribute explicitly controls Flow runtime behavior. Keeping Flows aligned with a supported API version helps prevent compatibility issues and ensures predictable execution.
|
|
165
|
+
|
|
166
|
+
**Rule ID:** `invalid-api-version`
|
|
167
|
+
**Class Name:** _[APIVersion](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/APIVersion.ts)_
|
|
168
|
+
**Severity:** π‘ *Warning*
|
|
169
|
+
|
|
170
|
+
#### Missing Filter Record Trigger 
|
|
171
|
+
Record-triggered Flows without filters on changed fields or entry conditions execute on every record change. Adding filters ensures the Flow runs only when needed, improving performance.
|
|
172
|
+
|
|
173
|
+
**Rule ID:** `missing-record-trigger-filter`
|
|
174
|
+
**Class Name:** _[MissingFilterRecordTrigger](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/MissingFilterRecordTrigger.ts)_
|
|
175
|
+
**Severity:** π‘ *Warning*
|
|
176
|
+
|
|
177
|
+
#### Same Record Field Updates
|
|
178
|
+
Before-save Flows can safely update the triggering record directly via $Record, applying changes efficiently without extra DML operations. Using before-save updates improves performance
|
|
179
|
+
|
|
180
|
+
**Rule ID:** `same-record-field-updates`
|
|
181
|
+
**Class Name:** _[SameRecordFieldUpdates](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/SameRecordFieldUpdates.ts)_
|
|
182
|
+
**Severity:** π‘ *Warning*
|
|
183
|
+
|
|
184
|
+
#### Excessive Cyclomatic Complexity
|
|
185
|
+
High numbers of loops and decision elements increase a Flow's cyclomatic complexity. To maintain simplicity and readability, consider using subflows or splitting a Flow into smaller, ordered Flows.
|
|
186
|
+
|
|
187
|
+
**Rule ID:** `excessive-cyclomatic-complexity`
|
|
188
|
+
**Class Name:** _[CyclomaticComplexity](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/CyclomaticComplexity.ts)_
|
|
189
|
+
**Severity:** π΅ *Note*
|
|
190
|
+
|
|
191
|
+
#### Missing Trigger Order
|
|
192
|
+
Record-triggered Flows without a specified Trigger Order may execute in an unpredictable sequence. Setting a Trigger Order ensures your Flows run in the intended order.
|
|
193
|
+
|
|
194
|
+
**Rule ID:** `unspecified-trigger-order`
|
|
195
|
+
**Class Name:** _[TriggerOrder](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/TriggerOrder.ts)_
|
|
196
|
+
**Severity:** π΅ *Note*
|
|
197
|
+
|
|
198
|
+
#### Record ID as String 
|
|
199
|
+
Flows that use a String variable for a record ID instead of receiving the full record introduce unnecessary complexity and additional Get Records queries. Using the complete record simplifies the Flow and improves performance.
|
|
200
|
+
|
|
201
|
+
**Rule ID:** `record-id-as-string`
|
|
202
|
+
**Class Name:** _[RecordIdAsString](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/RecordIdAsString.ts)_
|
|
203
|
+
**Severity:** π΅ *Note*
|
|
204
|
+
|
|
205
|
+
#### Transform Instead of Loop 
|
|
206
|
+
Loop elements that perform direct Assignments on each item can slow down Flows. Using Transform elements allows bulk operations on collections, improving performance and reducing complexity.
|
|
207
|
+
|
|
208
|
+
**Rule ID:** `transform-instead-of-loop`
|
|
209
|
+
**Class Name:** _[TransformInsteadOfLoop](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/TransformInsteadOfLoop.ts)_
|
|
210
|
+
**Severity:** π΅ *Note*
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
### Layout
|
|
215
|
+
|
|
216
|
+
Focused on naming, documentation, and organization, these rules ensure Flows remain clear, easy to understand, and maintainable as automations grow.
|
|
217
|
+
|
|
218
|
+
#### Flow Naming Convention
|
|
219
|
+
Using clear and consistent Flow names improves readability, discoverability, and maintainability. A good naming convention helps team members quickly understand a Flow's purposeβfor example, including a domain and brief description like Service_OrderFulfillment. Adopt a naming pattern that aligns with your organization's standards.
|
|
220
|
+
|
|
221
|
+
**Rule ID:** `invalid-naming-convention`
|
|
222
|
+
**Class Name:** _[FlowName](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/FlowName.ts)_
|
|
223
|
+
**Severity:** π΄ *Error*
|
|
224
|
+
|
|
225
|
+
#### Missing Flow Description
|
|
226
|
+
Flow descriptions are essential for documentation and maintainability. Include a description for each Flow, explaining its purpose and where it's used.
|
|
227
|
+
|
|
228
|
+
**Rule ID:** `missing-flow-description`
|
|
229
|
+
**Class Name:** _[FlowDescription](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/FlowDescription.ts)_
|
|
230
|
+
**Severity:** π΄ *Error*
|
|
231
|
+
|
|
232
|
+
#### Missing Metadata Description 
|
|
233
|
+
Elements and metadata without a description reduce clarity and maintainability. Adding descriptions improves readability and makes your automation easier to understand.
|
|
234
|
+
|
|
235
|
+
**Rule ID:** `missing-metadata-description`
|
|
236
|
+
**Class Name:** _[MissingMetadataDescription](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/MissingMetadataDescription.ts)_
|
|
237
|
+
**Severity:** π‘ *Warning*
|
|
238
|
+
|
|
239
|
+
#### Unclear API Name
|
|
240
|
+
Elements with unclear or duplicated API names, like Copy_X_Of_Element, reduce Flow readability. Make sure to update the API name when copying elements to keep your Flow organized.
|
|
241
|
+
|
|
242
|
+
**Rule ID:** `unclear-api-naming`
|
|
243
|
+
**Class Name:** _[CopyAPIName](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/CopyAPIName.ts)_
|
|
244
|
+
**Severity:** π‘ *Warning*
|
|
245
|
+
|
|
246
|
+
#### Unreachable Element
|
|
247
|
+
Unconnected elements never execute and add unnecessary clutter. Remove or connect unused Flow elements to keep Flows clean and efficient.
|
|
248
|
+
|
|
249
|
+
**Rule ID:** `unreachable-element`
|
|
250
|
+
**Class Name:** _[UnconnectedElement](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/UnconnectedElement.ts)_
|
|
251
|
+
**Severity:** π‘ *Warning*
|
|
252
|
+
|
|
253
|
+
#### Unused Variable
|
|
254
|
+
Unused variables are never referenced and add unnecessary clutter. Remove them to keep Flows efficient and easy to maintain.
|
|
255
|
+
|
|
256
|
+
**Rule ID:** `unused-variable`
|
|
257
|
+
**Class Name:** _[UnusedVariable](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/UnusedVariable.ts)_
|
|
258
|
+
**Severity:** π‘ *Warning*
|
|
259
|
+
|
|
260
|
+
#### Missing Auto Layout
|
|
261
|
+
Auto-Layout automatically arranges and aligns Flow elements, keeping the canvas organized and easier to maintain. Enabling it saves time and improves readability.
|
|
262
|
+
|
|
263
|
+
**Rule ID:** `missing-auto-layout`
|
|
264
|
+
**Class Name:** _[AutoLayout](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/AutoLayout.ts)_
|
|
265
|
+
**Severity:** π΅ *Note*
|
|
235
266
|
<!-- END GENERATED_RULES -->
|
|
236
267
|
|
|
237
268
|
---
|
|
@@ -385,7 +416,7 @@ Use glob patterns to exclude flows based on their file system location. This is
|
|
|
385
416
|
}
|
|
386
417
|
```
|
|
387
418
|
|
|
388
|
-
**Environment compatibility**:
|
|
419
|
+
**Environment compatibility**: requires Node.js(file system access) and is not available when using the Core Library in browser/web environments.
|
|
389
420
|
|
|
390
421
|
#### Exclude by Flow API Name (Browser-compatible)
|
|
391
422
|
|
|
@@ -404,7 +435,7 @@ Exclude specific flows by their unique API names, regardless of their location.
|
|
|
404
435
|
}
|
|
405
436
|
```
|
|
406
437
|
|
|
407
|
-
**Environment compatibility**:
|
|
438
|
+
**Environment compatibility**: works in **all environments** including Node.js and browser/web distributions, as it operates on parsed flow data rather than file system paths.
|
|
408
439
|
|
|
409
440
|
### Scan Modes
|
|
410
441
|
|
|
@@ -413,18 +444,14 @@ Exclude specific flows by their unique API names, regardless of their location.
|
|
|
413
444
|
New rules are introduced in Beta mode before being added to the default ruleset. To include current Beta rules, enable the optional betamode parameter in your configuration:
|
|
414
445
|
|
|
415
446
|
```json
|
|
416
|
-
{
|
|
417
|
-
"betaMode": true
|
|
418
|
-
}
|
|
447
|
+
{ "betaMode": true }
|
|
419
448
|
```
|
|
420
449
|
|
|
421
450
|
#### Rule Mode
|
|
422
451
|
|
|
423
|
-
By default, Lightning Flow Scanner runs **all** default rules and merges any custom configurations you provide.
|
|
452
|
+
By default, Lightning Flow Scanner runs **all** default rules and merges any custom configurations you provide. If instead, you want to run **only** the rules you explicitly specify, use:
|
|
424
453
|
```json
|
|
425
|
-
{
|
|
426
|
-
"ruleMode": "isolated"
|
|
427
|
-
}
|
|
454
|
+
{ "ruleMode": "isolated" }
|
|
428
455
|
```
|
|
429
456
|
|
|
430
457
|
## Installation
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flow-scanner/lightning-flow-scanner-core",
|
|
3
3
|
"description": "A lightweight engine for Flow metadata in Node.js, and browser environments. Assess and enhance Salesforce Flow automations for best practices, security, governor limits, and performance issues.",
|
|
4
|
-
"version": "6.16.
|
|
4
|
+
"version": "6.16.2",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|