|
1 | 1 | {
|
2 | 2 | "settings": {
|
3 |
| - // Whether to use the ESLint class API even if the CLIEngine API is present. The setting is only honored |
4 |
| - // when using using ESLint version 7.x. |
5 |
| - "useESLintClass": false, |
6 | 3 | // Show disable lint rule in the quick fix menu.
|
7 | 4 | "codeAction.disableRuleComment": {
|
8 | 5 | // Show the disable code actions.
|
9 | 6 | "enable": true,
|
10 | 7 | // Configure the disable rule code action to insert the comment on the `sameLine` or `separateLine`.
|
11 |
| - "location": "separateLine" |
| 8 | + "location": "separateLine", |
| 9 | + // The comment style to use when disabling a rule on a specific line. |
| 10 | + "commentStyle": "line" |
12 | 11 | },
|
13 | 12 | // Show open lint rule documentation web page in the quick fix.
|
14 | 13 | "codeAction.showDocumentation": {
|
|
18 | 17 | "codeActionOnSave.enable": true,
|
19 | 18 | // Specifies the code action mode. Possible values are 'all' and 'problems'.
|
20 | 19 | "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, |
21 | 22 | // The rules that should be executed when computing the code actions on save or formatting a file.
|
22 | 23 | // Defaults to the rules configured via the ESLint configuration.
|
23 | 24 | // An empty array results in no rules being considered.
|
|
58 | 59 | // Deprecated. Recommended to use the global LSP option `lsp_code_actions_on_save` with the.
|
59 | 60 | // `"source.fixAll.eslint": true` key instead.
|
60 | 61 | "format": false,
|
| 62 | + // If true, untitled files won't be validated by ESLint. |
| 63 | + "ignoreUntitled": false, |
61 | 64 | // A path added to NODE_PATH when resolving the eslint module (auto-detected by default).
|
62 | 65 | "nodePath": null,
|
63 | 66 | // Whether ESLint should issue a warning on ignored files.
|
|
92 | 95 | "vue",
|
93 | 96 | "markdown",
|
94 | 97 | ],
|
| 98 | + // Shortens the text spans of underlined problems to their first related line. |
| 99 | + "problems.shortenToSingleLine": false, |
95 | 100 | // Override the severity of one or more rules, regardless of the project's ESLint config. Use globs to
|
96 | 101 | // apply default severities for multiple rules.
|
97 | 102 | "rulesCustomizations": [],
|
|
100 | 105 | // Run the linter on save or on type.
|
101 | 106 | // Possible values: `onSave`, `onType`
|
102 | 107 | "run": "onType",
|
| 108 | + // Whether to use the ESLint class API even if the CLIEngine API is present. The setting is only honored |
| 109 | + // when using using ESLint version 7.x. |
| 110 | + "useESLintClass": false, |
103 | 111 | // An array of language ids which should be validated by ESLint.
|
104 | 112 | "validate": [
|
105 | 113 | "javascript",
|
|
0 commit comments