Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 2be0935

Browse files
committed
fix: improve Global Eslint message
1 parent c6494e0 commit 2be0935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function findESLintDirectory(modulesDir, config, projectPath) {
7979
}
8080

8181
if (config.global.useGlobalEslint) {
82-
throw new Error('ESLint not found, please ensure the global Node path is set correctly.')
82+
throw new Error('Global ESLint is not found, please ensure the global Node path is set correctly. If you wanted to use a local installation of Eslint, disable Global Eslint option in the linter-eslint config.')
8383
}
8484

8585
return {

0 commit comments

Comments
 (0)