|
1 | 1 | { |
2 | | -// autofix |
3 | | -// "eslint.autoFixOnSave": true, |
4 | | -// "eslint.validate": [ |
5 | | -// "javascript", |
6 | | -// { |
7 | | -// "language": "typescript", |
8 | | -// "autoFix": true |
9 | | -//}, |
10 | | -// { |
11 | | -// "language": "typescriptreact", |
12 | | -// "autoFix": true |
13 | | -// } |
14 | | -// ], |
15 | | -"editor.codeActionsOnSave": { |
16 | | -"source.fixAll":true |
17 | | - }, |
18 | | -"tslint.enable":true, |
19 | | -"[javascript]": { |
20 | | -"editor.formatOnSave":true |
21 | | - }, |
22 | | -"[typescript]": { |
23 | | -"editor.formatOnSave":true |
24 | | - }, |
25 | | -// Turn off tsc task auto detection since we have the necessary tasks as npm scripts |
26 | | -// "typescript.tsc.autoDetect": "off", |
27 | | -"files.exclude": { |
28 | | -"out":false// set this to true to hide the "out" folder with the compiled JS files |
29 | | - }, |
30 | | -"search.exclude": { |
31 | | -"out":true// set this to false to include "out" folder in search results |
| 2 | +"editor.formatOnSave":true, |
| 3 | +"eslint.autoFixOnSave":true, |
| 4 | +"eslint.validate": ["javascript", {"language":"typescript","autoFix":true }], |
| 5 | +"[javascript]": { |
| 6 | +"editor.formatOnSave":false |
32 | 7 | }, |
33 | | - |
34 | | -// styles |
35 | | -"editor.formatOnSave":true, |
36 | | -"workbench.colorCustomizations": { |
37 | | -"activityBar.background":"#000000", |
38 | | -"titleBar.activeBackground":"#000000", |
39 | | -"titleBar.activeForeground":"#FFFFFF" |
40 | | - } |
| 8 | +"[typescript]": { |
| 9 | +"editor.formatOnSave":false |
| 10 | +}, |
| 11 | +// Turn off tsc task auto detection since we have the necessary tasks as npm scripts |
| 12 | +"files.exclude": { |
| 13 | +"build":false// set this to true to hide the "out" folder with the compiled JS files |
| 14 | +}, |
| 15 | +"search.exclude": { |
| 16 | +"build":true// set this to false to include "out" folder in search results |
| 17 | +}, |
| 18 | +// styles |
| 19 | +"workbench.colorCustomizations": { |
| 20 | +"activityBar.background":"#000000", |
| 21 | +"titleBar.activeBackground":"#000000", |
| 22 | +"titleBar.activeForeground":"#FFFFFF" |
| 23 | +}, |
| 24 | +"cSpell.ignoreWords": [ |
| 25 | +"camelcase" |
| 26 | +] |
41 | 27 | } |