rithala / power-automate-tools

The Chrome/Edge extension that enables editing a Power Automate flow definition as JSON.
GNU General Public License v3.0
15 stars 3 forks source link

Enhancement: Show flow recommendations #7

Open mkm17 opened 4 months ago

mkm17 commented 4 months ago

Hi @rithala, I was wondering if it would be possible to create a set of additional checks for the currently opened flow.

Of course, there is a built-in "Flow Checker," but it does not cover all types of possible issues.

Think of it like tslint for Power Automate. We could collect a list of best practices to be followed when implementing a flow.

The ideal scenario would be for this list to be configurable, allowing organizations to apply their specific rules.

List of Possible Checks:

If the process is established, the same approach can be introduced for other tools, such as the CLI for M365, with a possible command like m365 flow verify --flowId --settingsJson to run a report on whether all flows in the organization meet the established requirements.

Let me know what you think :)

rithala commented 4 months ago

Hi @mkm17, it's a great idea. Do you know any project that brings such functionality? If not it would require building a linter library and then it can be added to the extension. I would be interested in taking part in a project like this 😄