Skip to content

Commit

Permalink
Enable bypassTypechcker by default
Browse files Browse the repository at this point in the history
Because this project has Sorbet as a dependency, this setting is required
for testing features like completion. And instead of asking every contributor
to manually turn it on before testing, which could easily be missed,
we can just turn it on by default.
  • Loading branch information
st0012 committed Jan 11, 2024
1 parent 47fb992 commit 475d2d7
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,31 @@
// Set this value to `verbose` to see the full JSON content of LSP requests and responses
"ruby lsp.trace.server": "off",
"[ruby]": {
"editor.defaultFormatter": "Shopify.ruby-lsp",
"editor.defaultFormatter": "Shopify.ruby-lsp"
},
// So features like completion can still be displayed with Sorbet in the dependencies
"rubyLsp.bypassTypechecker": true,
"search.exclude": {
"**/test/fixtures/prism": true
},
"cSpell.languageSettings": [
{
"languageId": "*",
"locale": "en",
"dictionaries": [
"wordsEn"
]
"dictionaries": ["wordsEn"]
},
{
"languageId": "*",
"locale": "en-US",
"dictionaries": [
"wordsEn"
]
"dictionaries": ["wordsEn"]
},
{
"languageId": "*",
"dictionaries": [
"companies",
"softwareTerms",
"misc"
]
"dictionaries": ["companies", "softwareTerms", "misc"]
},
{
"languageId": "ruby",
"dictionaries": [
"ruby"
]
},
"dictionaries": ["ruby"]
}
]
}

0 comments on commit 475d2d7

Please sign in to comment.