Skip to content

Commit 356d5b3

Browse files
Support ESLint 9 flat config (#72)
* bump server * apply fix for vscode-eslint/issues/1885 * remove white space * remove "scope", bump server to include fixes, and remove experimental.useConfig from settings * remove timeBudget options
1 parent 1e61688 commit 356d5b3

File tree

5 files changed

+1821
-865
lines changed

5 files changed

+1821
-865
lines changed

LSP-eslint.sublime-settings

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"codeActionOnSave.enable": true,
1818
// Specifies the code action mode. Possible values are 'all' and 'problems'.
1919
"codeActionOnSave.mode": "all",
20-
// Enables support for experimental Flat Config (aka `eslint.config.js`, supported by ESLint version 8.21 or later).
21-
"experimental.useFlatConfig": false,
2220
// The rules that should be executed when computing the code actions on save or formatting a file.
2321
// Defaults to the rules configured via the ESLint configuration.
2422
// An empty array results in no rules being considered.
@@ -82,18 +80,20 @@
8280
// }
8381
// ```
8482
"options": {},
85-
// The package manager you use to install node modules.
86-
// Possible values: `npm`, `yarn`, `pnpm`
87-
"packageManager": "npm",
83+
8884
// An array of language ids for which the plugin should probe if support is installed.
8985
"probe": [
86+
"astro",
9087
"javascript",
9188
"javascriptreact",
9289
"typescript",
9390
"typescriptreact",
9491
"html",
92+
"mdx",
9593
"vue",
9694
"markdown",
95+
"json",
96+
"jsonc"
9797
],
9898
// Shortens the text spans of underlined problems to their first related line.
9999
"problems.shortenToSingleLine": false,

0 commit comments

Comments
 (0)