Skip to content

Commit 9d9738c

Browse files
committed
@W-19772057@ Fixing typos
1 parent b1533a1 commit 9d9738c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

messages/config-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ We're continually improving Salesforce Code Analyzer. Tell us what you think! Gi
4242

4343
- Display any relevant configuration settings associated with PMD rules whose severity is 2 or 3:
4444

45-
<%= config.bin %> <%= command.id %> --rule-selector eslint:(2,3)
45+
<%= config.bin %> <%= command.id %> --rule-selector "pmd:(2,3)"
4646

4747
- Load an existing configuration file called `existing-config.yml`, and then write the configuration to a new file called `new-config.yml`, the configuration state that is applicable to all rules that are relevant to the workspace located in the current folder:
4848

messages/rules-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ We're continually improving Salesforce Code Analyzer. Tell us what you think! Gi
5050

5151
- List all the "pmd" engine rules that have a severity of moderate (3) or high (2) and the "Performance" tag.
5252

53-
<%= config.bin %> <%= command.id %> --rule-selector pmd:(2,3):Performance
53+
<%= config.bin %> <%= command.id %> --rule-selector "pmd:(2,3):Performance"
5454

5555
- Similar to the previous example, but apply the rule overrides and engine settings from the configuration file called `code-analyzer2.yml` in the current folder. If, for example, you changed the severity of an "eslint" rule from moderate (3) to high (2) in the configuration file, then that rule isn't listed:
5656

messages/run-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ We're continually improving Salesforce Code Analyzer. Tell us what you think! Gi
3838

3939
- Analyze the files using only rules in the "pmd" engine with a severity of high (2) or moderate (3), and the "Performance" tag.
4040

41-
<%= config.bin %> <%= command.id %> --rule-selector pmd:(2,3):Performance
41+
<%= config.bin %> <%= command.id %> --rule-selector "pmd:(2,3):Performance"
4242

4343
- Analyze files using the recommended "retire-js" rules; target all the files in the folder "./other-source" and only the Apex class files (extension .cls) in the folder "./force-app":
4444

0 commit comments

Comments
 (0)