Skip to content

Commit 1762543

Browse files
authored
Add default ruby configuration for visual studio code (#1958)
* Add default ruby configuration for visual studio code * fix linting violating in package.json
1 parent 8fb847e commit 1762543

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vscode/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,14 @@
536536
"**/bower_components": true,
537537
"**/*.code-search": true,
538538
"**/.ruby-lsp": true
539+
},
540+
"[ruby]": {
541+
"editor.defaultFormatter": "Shopify.ruby-lsp",
542+
"editor.formatOnSave": true,
543+
"editor.tabSize": 2,
544+
"editor.insertSpaces": true,
545+
"editor.semanticHighlighting.enabled": true,
546+
"editor.formatOnType": true
539547
}
540548
}
541549
},

0 commit comments

Comments
 (0)