Skip to content

Commit abc0468

Browse files
committed
incl depr notice
1 parent 53fb2e6 commit abc0468

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ __*Pinpoint deviations from Industry Best Practices in Salesforce Flows, ensurin
55

66
**Also available as [VS Code Extension](https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-vsce)*
77

8+
## [🚨 Deprecation Notice — August, 2025](https://github.com/Lightning-Flow-Scanner)
9+
810
## Table of contents
911

1012
- [Installation](#installation)
@@ -57,9 +59,10 @@ sfdx flow:scan [options]
5759

5860
--loglevel=(trace|debug|info|warn|error|fatal) [default: warn] logging level.
5961
```
62+
6063
### Examples
6164

62-
You can test the scanner by simply opening an existing project that contains flows and running the scan without any configurations or parameters. This way all the default rules are autmatically included in the scan.
65+
You can test the scanner by simply opening an existing project that contains flows and running the scan without any configurations or parameters. This way all the default rules are autmatically included in the scan.
6366

6467
```sh-sessions
6568
sfdx flow:scan
@@ -76,10 +79,11 @@ sfdx flow:scan --config path/to/.flow-scanner.json
7679
## Configuration
7780

7881
Create a .flow-scanner.json file in order to configure:
79-
- The ruleset to be executed.
80-
- The severity of violating any specific rule.
81-
- Custom expressions or rule implementations.
82-
- Any known exceptions that should be ignored during scanning.
82+
83+
- The ruleset to be executed.
84+
- The severity of violating any specific rule.
85+
- Custom expressions or rule implementations.
86+
- Any known exceptions that should be ignored during scanning.
8387

8488
```json
8589
{
@@ -96,7 +100,7 @@ _Note: if you prefer YAML format, you can create a `.flow-scanner.yml` file usin
96100

97101
### Defining the severity per rule
98102

99-
When the severity is not provided it will be `error` by default. Other available values for severity are `warning` and `note`. Define the severity per rule as shown in the following example.
103+
When the severity is not provided it will be `error` by default. Other available values for severity are `warning` and `note`. Define the severity per rule as shown in the following example.
100104

101105
```json
102106
{
@@ -110,6 +114,7 @@ When the severity is not provided it will be `error` by default. Other available
110114
}
111115
}
112116
```
117+
113118
### Specifying an exception
114119

115120
Specifying exceptions can be done by flow, rule and result(s), as shown in the following example.
@@ -130,6 +135,7 @@ Specifying exceptions can be done by flow, rule and result(s), as shown in the f
130135
}
131136
}
132137
```
138+
133139
### Configuring an expression
134140

135141
Some rules have additional attributes to configure, such as the expression, that will overwrite default values. These can be configured in the same way as severity as shown in the following example.
@@ -153,7 +159,7 @@ Some rules have additional attributes to configure, such as the expression, that
153159

154160
### Loading Custom Rules
155161

156-
To load custom rules using the Lightning Flow Scanner Core, you can utilize the `path` attribute within the rules section of your configurations. This attribute allows you to specify the path to your custom rule class, enabling seamless integration of organization-specific rule definitions into the scanner's ruleset.
162+
To load custom rules using the Lightning Flow Scanner Core, you can utilize the `path` attribute within the rules section of your configurations. This attribute allows you to specify the path to your custom rule class, enabling seamless integration of organization-specific rule definitions into the scanner's ruleset.
157163

158164
```json
159165
{
@@ -164,6 +170,7 @@ To load custom rules using the Lightning Flow Scanner Core, you can utilize the
164170
}
165171
}
166172
```
173+
167174
Custom Rules can either leverage our Flow compiler or be completely customized typescript functions.
168175
For more details and examples on custom rules, refer to our [Custom Rule Creation Guide](https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-core/tree/master/docs/customruleguide.md)
169176

0 commit comments

Comments
 (0)