Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions CHANGELOG.md

This file was deleted.

8 changes: 8 additions & 0 deletions Contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Since 2021, the _Lightning Flow Scanner_ has grown from its roots in CLI and VS Code tools to empower Salesforce Developers across six free and open-source platforms—from CLI tools to native Salesforce apps—delivering a unified experience for static analysis of Flows. Our community has shared their expertise to ensure reliability and efficiency in Flow optimization. Your support can amplify our impact. Here’s how you can contribute:

- ⭐ Starring the project to show your support
- 📢 Sharing our work with your network
- 💬 Sharing feedback to help us improve
- 💻 Contributing code to drive innovation

Want to know more? Please consider having a look at the [Contributing Guidelines](https://github.com/Flow-Scanner/lightning-flow-scanner-core/blob/main/CONTRIBUTING.md).
26 changes: 9 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ Use our side bar or the **Command Palette** and type `Flow Scanner` to see the l
* `Fix Flows` will apply available fixes automatically.
* `Open Documentation` can be used to reference the documentation.

| Command | Title |
| ------------------------------------------ | ----------------------- |
| `lightningflowscanner.openDocumentation` | Open the documentation |
| `lightningflowscanner.scanFlows` | Scan Flows |
| `lightningflowscanner.debugView` | Debug Flow Scanner View |
| `lightningflowscanner.fixFlows` | Fix Flows |
| `lightningflowscanner.configRules` | Configurate Flow Rules |

## Configuration Options

| Key | Description | Default Value |
Expand All @@ -45,19 +37,19 @@ Use our side bar or the **Command Palette** and type `Flow Scanner` to see the l
```bash
npm install
```
3. Build the project:
3. run locally

```bash
npm run build
```
4. Run tests:
npm run watch
```
4. build vsix

```bash
npm run test
```
npm run build
```

## Contributing
## Note on the original project

The original `lightning-flow-scanner-vsce` package was unpublished from the Visual Studio Marketplace after a Remote Code Execution (RCE) vulnerability was identified in its core dependency, `lightning-flow-scanner-core`. This issue, caused by unsafe custom rule loading, has been fully resolved in the [v5.1.0 release of the core library](https://github.com/Flow-Scanner/lightning-flow-scanner-core/releases/tag/v5.1.0). The [lightning-flow-scanner-vsx](https://github.com/Flow-Scanner/lightning-flow-scanner-vsx) fork, has focussed on security and maintainability, removing unsafe custom rule loading.
The original `lightning-flow-scanner-vsce` package was unpublished from the Visual Studio Marketplace after a Remote Code Execution (RCE) vulnerability was identified in its core dependency, `lightning-flow-scanner-core`. This issue, caused by unsafe custom rule loading, has been fully resolved in the [v5.1.0 release of the core library](https://github.com/Flow-Scanner/lightning-flow-scanner-core/releases/tag/v5.1.0). The [lightning-flow-scanner-vsx](https://github.com/Flow-Scanner/lightning-flow-scanner-vsx) fork, focusses on security and maintainability.

If you'd like to help us enhance Flow Scanner, please consider having a look at the [Contributing Guidelines](https://github.com/Flow-Scanner/lightning-flow-scanner-core/blob/main/CONTRIBUTING.md).
If you'd like to help us enhance Lightning Flow Scanner, please consider having a look at the [Contributing Guidelines](https://github.com/Flow-Scanner/lightning-flow-scanner-core/blob/main/CONTRIBUTING.md).
13 changes: 0 additions & 13 deletions index.html

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 17 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "lightning-flow-scanner-vsx",
"displayName": "Lightning Flow Scanner CE",
"displayName": "Lightning Flow Scanner VSX",
"publisher": "ForceConfigControl",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/Flow-Scanner/lightning-flow-scanner-vsx"
},
"icon": "media/lightningflow.png",
"description": "A Visual Studio Code Extension designed to proactively enforce secure and maintainable Salesforce Flows. It detects unsafe running contexts, hardcoded IDs and URLs, overly broad field access, unhandled nulls, and inefficient database operations, helping teams ensure their automations are safe and reliable.",
"version": "1.7.0",
"description": "A VS Code Extension for analysis and optimization of Salesforce Flows. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. Supports auto-fixes, rule configurations, and tests integration.",
"version": "1.7.2",
"engines": {
"vscode": "^1.99.1"
},
"categories": [
"Other"
"Linters"
],
"homepage": "https://flow-scanner.github.io/lightning-flow-scanner-vsx",
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
Expand Down Expand Up @@ -98,9 +99,6 @@
"build-webapp": "rollup -c",
"build": "npm run v:update && rollup -c && vsce package",
"build:beta": "npm run v:update && rollup -c && vsce package --pre-release",
"deploy:minor": "vsce publish minor",
"deploy:major": "vsce publish major",
"deploy:patch": "vsce publish patch",
"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
Expand Down Expand Up @@ -187,5 +185,16 @@
"uuid": "^11.0.5",
"xml2js": "^0.6.2",
"yaml": "^2.8.0"
}
},
"keywords": [
"salesforce",
"flow",
"linter",
"static analysis",
"security scanner",
"flow scanner",
"salesforce flow",
"best practices",
"code quality"
]
}
48 changes: 0 additions & 48 deletions vsc-extension-quickstart.md

This file was deleted.

2 changes: 1 addition & 1 deletion webviews/components/Banner.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="banner">

<img
src="https://raw.githubusercontent.com/Flow-Scanner/lightning-flow-scanner-core/main/media/bannerslim.png"
src="https://raw.githubusercontent.com/Flow-Scanner/lightning-flow-scanner-core/main/files/media/bannerslim.png"
alt="Lightning Flow Scanner banner"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion webviews/components/Navigation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<div class="banner">
<a href="https://github.com/Lightning-Flow-Scanner">
<img
src="https://raw.githubusercontent.com/Flow-Scanner/lightning-flow-scanner-core/main/media/bannerslim.png"
src="https://raw.githubusercontent.com/Flow-Scanner/lightning-flow-scanner-core/main/files/media/bannerslim.png"
alt="Lightning Flow Scanner banner"
/>
</a>
Expand Down
Loading