|
1 | 1 | {
|
2 | 2 | // File formatting
|
| 3 | + // General settings |
| 4 | + "editor.wordWrap": "off", |
| 5 | + "files.trimTrailingWhitespace": true, |
| 6 | + |
| 7 | + // Language-specific settings |
3 | 8 | "[markdown]": {
|
4 | 9 | "editor.detectIndentation": false,
|
5 | 10 | "editor.insertSpaces": true,
|
6 | 11 | "editor.tabSize": 4,
|
7 |
| - "editor.wordWrap": "off", |
8 |
| - "files.trimTrailingWhitespace": true, |
9 | 12 | },
|
10 | 13 | "[makefile]": {
|
11 | 14 | "editor.detectIndentation": false,
|
12 | 15 | "editor.insertSpaces": false,
|
13 | 16 | "editor.tabSize": 8,
|
14 |
| - "editor.wordWrap": "off", |
15 |
| - "files.trimTrailingWhitespace": true, |
16 | 17 | },
|
17 | 18 | "[asciidoc]": {
|
18 | 19 | "editor.detectIndentation": false,
|
19 | 20 | "editor.insertSpaces": true,
|
20 | 21 | "editor.tabSize": 2,
|
21 |
| - "editor.wordWrap": "off", |
22 |
| - "files.trimTrailingWhitespace": true, |
23 | 22 | },
|
24 | 23 | "[shellscript]": {
|
25 | 24 | "editor.detectIndentation": false,
|
26 | 25 | "editor.insertSpaces": false,
|
27 | 26 | "editor.tabSize": 8,
|
28 |
| - "editor.wordWrap": "off", |
29 |
| - "files.trimTrailingWhitespace": true, |
| 27 | + }, |
| 28 | + "[javascript]": { |
| 29 | + "editor.detectIndentation": false, |
| 30 | + "editor.insertSpaces": true, |
| 31 | + "editor.tabSize": 2, |
| 32 | + }, |
| 33 | + "[typescript]": { |
| 34 | + "editor.detectIndentation": false, |
| 35 | + "editor.insertSpaces": true, |
| 36 | + "editor.tabSize": 2, |
30 | 37 | },
|
31 | 38 | "files.associations": {
|
32 | 39 | "*.adoc": "asciidoc",
|
|
35 | 42 | "*.sh": "shellscript",
|
36 | 43 | "prerm": "shellscript",
|
37 | 44 | "postinstall": "shellscript",
|
| 45 | + "*.js": "javascript", |
| 46 | + "*.ts": "typescript", |
38 | 47 | "Makefile": "makefile"
|
39 | 48 | },
|
40 | 49 |
|
|
0 commit comments