mitchspano / sfdx-scan-pull-request

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doc Suggestion

codefriar opened this issue · comments

A couple of suggestions for the documentation / readme.
In the engine section:

  • please enumerate the engines that are currently supported
  • please show how to run multiple engines.

I'd file a PR, but I don't know the actual values for which engines are supported / how to run multiple.

The supported engines are enumerated in this file within the scanner's source code.

Here are the current values which can be accepted as engine value for input:

  • pmd
  • eslint
  • eslint-lwc
  • eslint-typescript
  • retire-js
  • cpd
  • sfge

I am a little hesitant to add this to the documentation just in case the owners of the Sfdx Scanner plugin add more values in the future.

@mitchspano Can I suggest that you add some additional information to the Readme file that informs the user that the pmdconfig and custom-pmd-rules inputs typically don't get used together as per point 1 in @jfeingold35 's comment here. I feel this is not even clear on the Salesforce Code Analyzer site and I only appreciated the difference after I read the comment.