Skip to content

Commit 448e986

Browse files
Merge pull request #2010 from forcedotcom/release-5.11.0
RELEASE @W-20621714@ Conducting v5.11.0 release
2 parents 0980a8a + c43a978 commit 448e986

12 files changed

Lines changed: 1876 additions & 2316 deletions

File tree

messages/run-command.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ We're continually improving Salesforce Code Analyzer. Tell us what you think! Gi
5656

5757
<%= config.bin %> <%= command.id %> --rule-selector eslint:getter-return --rule-selector no-inner-declarations
5858

59+
- Analyze the files and ignore all inline suppression markers (code-analyzer-suppress/unsuppress) in the source code:
60+
61+
<%= config.bin %> <%= command.id %> --no-suppressions
62+
5963
# flags.workspace.summary
6064

6165
Set of files that make up your workspace.
@@ -142,6 +146,16 @@ To output the results to multiple files, specify this flag multiple times. For e
142146

143147
If you specify a file within a folder, such as `--output-file ./out/results.json`, the folder must already exist, or you get an error. If the file already exists, it's overwritten without prompting.
144148

149+
# flags.no-suppressions.summary
150+
151+
Disable processing of inline suppression markers.
152+
153+
# flags.no-suppressions.description
154+
155+
By default, Code Analyzer processes inline suppression markers (code-analyzer-suppress and code-analyzer-unsuppress) found in your source code to filter out violations. Use this flag to ignore all suppression markers and report all violations.
156+
157+
Note: If you have a `code-analyzer.yml` or `code-analyzer.yaml` configuration file with the `suppressions.disable_suppressions` field, the configuration file takes precedence over this flag.
158+
145159
# error.invalid-severity-threshold
146160

147161
Expected --severity-threshold=%s to be one of: %s

0 commit comments

Comments
 (0)