This article will explain the Standard Rules that come with SPCAF.
As standard, the Client Application, Visual Studios, and Command Line all have access to the standard Ruleset's that come with SPCAF. These Ruleset's, their purpose, and location are listed below:
All available analyzers will be applied during analysis.
File Location: (C:\Program Files (x86)\Rencore\SPCAF\Rulesets\RS00_AllRules.spruleset).
These settings focus on the most critical problems in your code for which Code Analysis is the most accurate. Only analyzers from the categories; Correctness, Security, and Supportability are applied.
File Location: (C:\Program Files (x86)\Rencore\SPCAF\Rulesets\\RS01_MinimumRules.spruleset).
|Minimum Recommended Settings||
These settings focus on the most critical problems in your code and violations against best practices. The settings extended the MinimumRules with rules from the categories; Design, Best Practices, and Deployment.
File Location: (C:\Program Files (x86)\Rencore\SPCAF\Rulesets\RS02_MinimumRecommendedRules.spruleset).
|Extended Recommended Settings||
These setting focus on a detailed check of code. This is the default ruleset that is used if none is selected or specified.
File Location: (C:\Program Files (x86)\Rencore\SPCAF\Rulesets\RS10_ExtendedRecommendedRules.spruleset).
|SharePoint Framework - All Rules||
Use this ruleset to run analysis on SharePoint Framework projects only.
File Location (C:\Program Files (x86)\Rencore\SPCAF\Rulesets\RS40_SharePointFramework.spruleset).
Use this ruleset to run analysis on Angular and AngularJS applications.
File Location: (C:\Program Files (x86)\Rencore\SPCAF\Rulesets\RS50_Angular.spruleset).
Pre-Production | Ruleset | Rulesets | Default | Standard | Available | Rules