Skip to content

Commit 4007648

Browse files
CHANGE(eslint): @W-18849701@: Update eslint_ignore_file field saying it will soon be unsupported (#313)
1 parent f8b444b commit 4007648

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/code-analyzer-eslint-engine/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/code-analyzer-eslint-engine",
33
"description": "Plugin package that adds 'eslint' as an engine into Salesforce Code Analyzer",
4-
"version": "0.26.1",
4+
"version": "0.26.2-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",
@@ -76,4 +76,4 @@
7676
"!src/index.ts"
7777
]
7878
}
79-
}
79+
}

packages/code-analyzer-eslint-engine/src/messages.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ const MESSAGE_CATALOG : { [key: string]: string } = {
1414
`See https://eslint.org/docs/latest/use/configure/configuration-files to learn more.`,
1515

1616
ConfigFieldDescription_eslint_ignore_file:
17-
`Your project's ".eslintignore" file. May be an absolute path or a path relative to the config_root.\n` +
17+
`Your project's legacy ".eslintignore" file. May be an absolute path or a path relative to the config_root.\n` +
1818
`If null and auto_discover_eslint_config is true, then Code Analyzer will attempt to discover/apply it automatically.\n` +
19-
`See https://eslint.org/docs/v8.x/use/configure/ignore#the-eslintignore-file to learn more.`,
19+
`Legacy ".eslintignore" files are currently only supported with ESLint v8 when used alongside of legacy ESLint configuration\n` +
20+
`files. We will be removing support for ESLint v8 and this field in the coming months. Therefore, we recommend that you instead\n` +
21+
`supply the files that you wish to ignore within a flat ESLint configuration file, specified by the eslint_config_file field.\n` +
22+
`See https://eslint.org/docs/latest/use/configure/ignore to learn more.`,
2023

2124
ConfigFieldDescription_auto_discover_eslint_config:
2225
`Whether to have Code Analyzer automatically discover/apply any ESLint configuration and ignore files from your workspace.`,

0 commit comments

Comments
 (0)