|
| 1 | +{ |
| 2 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 3 | + "editor.formatOnSave": true, |
| 4 | + "editor.formatOnPaste": true, |
| 5 | + "editor.formatOnType": true, |
| 6 | + "editor.tabSize": 2, |
| 7 | + "editor.wordWrap": "on", |
| 8 | + |
| 9 | + "prettier.tabWidth": 2, |
| 10 | + "prettier.useTabs": false, |
| 11 | + "prettier.semi": true, |
| 12 | + "prettier.singleQuote": true, |
| 13 | + "prettier.trailingComma": "all", |
| 14 | + "prettier.bracketSpacing": true, |
| 15 | + "prettier.bracketSameLine": false, |
| 16 | + "prettier.arrowParens": "always", |
| 17 | + "prettier.endOfLine": "lf", |
| 18 | + |
| 19 | + "[typescript]": { |
| 20 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 21 | + "editor.codeActionsOnSave": { |
| 22 | + "source.fixAll": "explicit", |
| 23 | + "source.organizeImports": "explicit" |
| 24 | + } |
| 25 | + }, |
| 26 | + "[typescriptreact]": { |
| 27 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 28 | + "editor.codeActionsOnSave": { |
| 29 | + "source.fixAll": "explicit", |
| 30 | + "source.organizeImports": "explicit" |
| 31 | + } |
| 32 | + }, |
| 33 | + "[javascript]": { |
| 34 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 35 | + }, |
| 36 | + "[javascriptreact]": { |
| 37 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 38 | + }, |
| 39 | + "[json]": { |
| 40 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 41 | + }, |
| 42 | + |
| 43 | + "eslint.validate": [ |
| 44 | + "javascript", |
| 45 | + "javascriptreact", |
| 46 | + "typescript", |
| 47 | + "typescriptreact" |
| 48 | + ], |
| 49 | + "eslint.run": "onType", |
| 50 | + "eslint.lintTask.enable": true, |
| 51 | + |
| 52 | + "typescript.updateImportsOnFileMove.enabled": "always", |
| 53 | + "javascript.updateImportsOnFileMove.enabled": "always", |
| 54 | + "editor.bracketPairColorization.enabled": true, |
| 55 | + "editor.autoClosingBrackets": "always", |
| 56 | + "editor.autoClosingQuotes": "always", |
| 57 | + "editor.guides.bracketPairs": "active", |
| 58 | + "editor.inlineSuggest.enabled": true, |
| 59 | + "typescript.preferences.importModuleSpecifier": "relative", |
| 60 | + "javascript.preferences.importModuleSpecifier": "relative" |
| 61 | +} |
0 commit comments