Skip to content

Commit 18640b9

Browse files
authored
FIX @W-21741616@ correcting config description for suppression msg (#454)
1 parent 00af55d commit 18640b9

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

packages/code-analyzer-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/code-analyzer-core",
33
"description": "Core Package for the Salesforce Code Analyzer",
4-
"version": "0.46.0-SNAPSHOT",
4+
"version": "0.46.1-SNAPSHOT",
55
"author": "The Salesforce Code Analyzer Team",
66
"license": "BSD-3-Clause",
77
"homepage": "https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview",

packages/code-analyzer-core/src/messages.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,15 @@ const MESSAGE_CATALOG : MessageCatalog = {
6262
`-------------------------------------------`,
6363

6464
ConfigFieldDescription_suppressions:
65-
`Configuration for inline suppression markers in source code.\n` +
65+
`Configuration for inline and bulk suppressions.\n` +
6666
` disable_suppressions: Boolean to disable processing of suppression markers.\n` +
67+
` {file_path}: Array of bulk suppression rules for specific files or folders.\n` +
6768
`---- [Example usage]: ---------------------\n` +
6869
`suppressions:\n` +
6970
` disable_suppressions: false\n` +
71+
` "src/legacy.js":\n` +
72+
` - rule_selector: "eslint:no-console"\n` +
73+
` max_suppressed_violations: 5\n` +
7074
`-------------------------------------------`,
7175

7276
GenericEngineConfigOverview:

0 commit comments

Comments
 (0)