Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix setting in playground #1574

Merged
merged 2 commits into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions playgrounds/flatConfig/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"source.fixAll": true,
"source.fixAll.eslint": true
},
"eslint.experimentalUseFlatConfig": true
}
"eslint.experimental.useFlatConfig": true
}
2 changes: 1 addition & 1 deletion server/src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ export namespace ESLint {
if (lib === undefined) {
settings.validate = Validate.off;
if (!settings.silent) {
connection.console.error(`Failed to load eslint library from ${libraryPath}. If you are using ESLint v8.21 or earlier, try upgrading it. For newer versions, try disabling the 'experimentalUseFlatConfig' setting. See the output panel for more information.`);
connection.console.error(`Failed to load eslint library from ${libraryPath}. If you are using ESLint v8.21 or earlier, try upgrading it. For newer versions, try disabling the 'eslint.experimental.useFlatConfig' setting. See the output panel for more information.`);
}
} else if (lib.FlatESLint === undefined) {
settings.validate = Validate.off;
Expand Down