-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- A project-specific VS Code settings file - Suggested VS Code extensions - Rubocop with the Shopify style guide - `ruby-lsp-rails` addon for RubyLSP Co-authored-by: Gitta van der Pol <mail@gvanderpol.nl>
- Loading branch information
1 parent
e0d3772
commit 6692c20
Showing
5 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# The behavior of RuboCop can be controlled via the .rubocop.yml | ||
# configuration file. It makes it possible to enable/disable | ||
# certain cops (checks) and to alter their behavior if they accept | ||
# any parameters. The file can be placed either in your home | ||
# directory or in some project directory. | ||
# | ||
# RuboCop will start looking for the configuration file in the directory | ||
# where the inspected file is and continue its way up to the root directory. | ||
# | ||
# See https://docs.rubocop.org/rubocop/configuration | ||
|
||
inherit_gem: | ||
rubocop-shopify: rubocop.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"shopify.ruby-lsp", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"rubyLsp.enabledFeatures": { | ||
"codeActions": true, | ||
"diagnostics": true, | ||
"documentHighlights": true, | ||
"documentLink": true, | ||
"documentSymbols": true, | ||
"foldingRanges": true, | ||
"formatting": true, | ||
"hover": true, | ||
"inlayHint": true, | ||
"onTypeFormatting": true, | ||
"selectionRanges": true, | ||
"semanticHighlighting": true, | ||
"completion": true, | ||
"codeLens": true | ||
}, | ||
"rubyLsp.enableExperimentalFeatures": true, | ||
"[ruby]": { "editor.defaultFormatter": "Shopify.ruby-lsp" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters