aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorSarath Nair <91882341+sarath-nair-sonarsource@users.noreply.github.com>2024-03-21 09:22:01 +0100
committersonartech <sonartech@sonarsource.com>2024-03-21 20:02:41 +0000
commit98cbcac22ba930c2cd8d21dde56c05f57c1f7f34 (patch)
tree81e33460931237e6a05b3d1f28744ef909159f01 /.vscode
parent545155db89eb425dda1f05dc985d1b2da4b00e76 (diff)
downloadsonarqube-98cbcac22ba930c2cd8d21dde56c05f57c1f7f34.tar.gz
sonarqube-98cbcac22ba930c2cd8d21dde56c05f57c1f7f34.zip
[NO-JIRA] Add vscode settings (#10780)
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/settings.json75
1 files changed, 75 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 00000000000..0aa316cd929
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,75 @@
+{
+ "editor.codeActionsOnSave": {
+ "source.organizeImports": "explicit"
+ },
+ "editor.formatOnSave": true,
+ "editor.rulers": [100],
+ "editor.tabSize": 2,
+ "eslint.validate": [
+ "javascript",
+ "javascriptreact",
+ "typescript",
+ "typescriptreact"
+ ],
+ "eslint.workingDirectories": [{ "mode": "auto" }],
+ "files.exclude": {
+ "**/.awcache": true,
+ "**/.cache": true,
+ "**/.DS_Store": true,
+ "**/.git": true,
+ "**/.gradle": true,
+ "**/.hg": true,
+ "**/.sonarlint": true,
+ "**/.svn": true,
+ "**/.vscode": true,
+ "**/eslint-report.json": true,
+ "**/bower_components": true,
+ "**/build": true,
+ "**/CVS": true,
+ "**/node": true,
+ "**/node_modules": true,
+ "**/out": true,
+ "**/coverage": true,
+ "**/target": true
+ },
+ "javascript.preferences.importModuleSpecifier": "relative",
+ "typescript.preferences.importModuleSpecifier": "project-relative",
+ "javascript.updateImportsOnFileMove.enabled": "always",
+ "javascript.validate.enable": false,
+ "prettier.configPath": "server/sonar-web/.prettierrc",
+ "search.exclude": {
+ "**/build": true,
+ "**/target": true,
+ "**/.awcache": true,
+ "**/node_modules": true,
+ "**/bower_components": true,
+ "**/.sonarlint": true,
+ "**/flow-typed": true,
+ "**/yarn.lock": true,
+ "**/coverage": true,
+ "**/*.js.snap": true,
+ "**/*.ts.snap": true
+ },
+ "typescript.updateImportsOnFileMove.enabled": "always",
+ "[javascriptreact]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[html]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[javascript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[typescriptreact]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[typescript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[css]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[markdown]": {
+ "editor.defaultFormatter": null
+ },
+ } \ No newline at end of file