Skip to content

Commit

Permalink
Add configuration options for third-party formatters (#2092)
Browse files Browse the repository at this point in the history
* Add more formatters

* Update vscode/package.json

Co-authored-by: Vinicius Stock <vinistock@users.noreply.github.com>

* Update vscode/package.json

Co-authored-by: Vinicius Stock <vinistock@users.noreply.github.com>

* PR Feedback

---------

Co-authored-by: Andy Waite <andyw8@users.noreply.github.com>
Co-authored-by: Vinicius Stock <vinistock@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 21, 2024
1 parent f8a7d89 commit 8d4c17e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,18 @@
"auto",
"rubocop",
"syntax_tree",
"standard",
"rubyfmt",
"none"
],
"enumDescriptions": [
"Automatically detect formatter",
"RuboCop",
"Syntax Tree",
"Standard (supported by community addon)",
"Rubyfmt (supported by community addon)",
"Do not use a formatter"
],
"default": "auto"
},
"rubyLsp.linters": {
Expand Down

0 comments on commit 8d4c17e

Please sign in to comment.