|
14 | 14 | },
|
15 | 15 | ],
|
16 | 16 | "settings": {
|
17 |
| - "validate": "on", |
18 |
| - "packageManager": "npm", |
19 |
| - "options": {}, |
20 |
| - "run": "onType", |
21 |
| - "nodePath": null, |
22 |
| - "format": false, |
23 |
| - "quiet": false, |
24 |
| - "onIgnoredFiles": "off", |
25 |
| - "codeAction": { |
26 |
| - "disableRuleComment": { |
27 |
| - "enable": true, |
28 |
| - "location": "separateLine" |
29 |
| - }, |
30 |
| - "showDocumentation": { |
31 |
| - "enable": true |
32 |
| - } |
33 |
| - }, |
34 |
| - "codeActionOnSave": { |
| 17 | + "codeAction.disableRuleComment": { |
| 18 | + // Show the disable code actions. |
35 | 19 | "enable": true,
|
36 |
| - "mode": "all" |
| 20 | + // Configure the disable rule code action to insert the comment on the `sameLine` or `separateLine`. |
| 21 | + "location": "separateLine" |
37 | 22 | },
|
| 23 | + "codeAction.showDocumentation": { |
| 24 | + // Show the documentation code actions. |
| 25 | + "enable": true |
| 26 | + }, |
| 27 | + "codeActionOnSave.enable": true, |
| 28 | + // Specifies the code action mode. Possible values are 'all' and 'problems'. |
| 29 | + // possible values: all, problems |
| 30 | + "codeActionsOnSave.mode": "all", |
| 31 | + // Deprecated. Recommended to use the global LSP option `lsp_code_actions_on_save` with the. |
| 32 | + // `"source.fixAll.eslint": true` key instead. |
| 33 | + "format": false, |
| 34 | + // A path added to NODE_PATH when resolving the eslint module (auto-detected by default). |
| 35 | + "nodePath": null, |
| 36 | + // Whether ESLint should issue a warning on ignored files. |
| 37 | + // Possible values: `warn`, `off` |
| 38 | + "onIgnoredFiles": "off", |
| 39 | + // The eslint options object to provide args normally passed to eslint when |
| 40 | + // executed from a command line (see https://eslint.org/docs/developer-guide/nodejs-api#cliengine). |
| 41 | + "options": {}, |
| 42 | + // The package manager you use to install node modules. |
| 43 | + // Possible values: `npm`, `yarn`, `pnpm` |
| 44 | + "packageManager": "npm", |
| 45 | + // Turns on quiet mode, which ignores warnings. |
| 46 | + "quiet": false, |
| 47 | + // Run the linter on save or on type. |
| 48 | + // Possible values: `onSave`, `onType` |
| 49 | + "run": "onType", |
| 50 | + "validate": "on", |
38 | 51 | // An optional list of working directories or a setting on how those are auto-resolved.
|
39 | 52 | //
|
40 | 53 | // This setting will normally only be set per-project to provide a list of working
|
|
45 | 58 | //
|
46 | 59 | // NOTE that the `{ "pattern": glob pattern }` variant is not supported in LSP-eslint.
|
47 | 60 | "workingDirectories": null
|
48 |
| - } |
| 61 | + }, |
| 62 | + "env": { |
| 63 | + // Enables ESLint debug mode |
| 64 | + // "DEBUG": "eslint:*,-eslint:code-path", |
| 65 | + // The value of NODE_ENV to use when running eslint tasks. |
| 66 | + // "NODE_ENV": "production", |
| 67 | + }, |
49 | 68 | }
|
0 commit comments