Skip to content

Commit b728495

Browse files
committed
Update Readme with instruction to add Rubocop in Gemfile
1 parent 2927f13 commit b728495

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ You may want to backup your `settings.json` file before trying this extension ou
3333
The recommended settings and their respective values can be found
3434
in the extension [configuration file](https://github.com/Shopify/vscode-shopify-ruby/blob/main/src/configuration.ts#L10).
3535

36+
If using Rubocop, make sure to add rubocop in your Gemfile to get VS Code formatter to work.
37+
38+
```ruby
39+
# Gemfile
40+
group :development do
41+
gem "rubocop"
42+
end
43+
```
44+
3645
### Commands
3746

3847
The commands offered to help manage the recommended settings are:

0 commit comments

Comments
 (0)