You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -395,6 +400,25 @@ Below are listed all of the "official" plugins hosted under the same GitHub orga
395
400
*[SyntaxTree::JSON](https://github.com/ruby-syntax-tree/syntax_tree-json) for JSON.
396
401
*[SyntaxTree::RBS](https://github.com/ruby-syntax-tree/syntax_tree-rbs) for the [RBS type language](https://github.com/ruby/rbs).
397
402
403
+
When invoking the CLI, you pass through the list of plugins with the `--plugins` options to the commands that accept them. They should be a comma-delimited list. When the CLI first starts, it will require the files corresponding to those names.
404
+
405
+
## Integration
406
+
407
+
Syntax Tree's goal is to seemlessly integrate into your workflow. To this end, it provides a couple of additional tools beyond the CLI and the Ruby library.
408
+
409
+
### RuboCop
410
+
411
+
RuboCop and Syntax Tree serve different purposes, but there is overlap with some of RuboCop's functionality. Syntax Tree provides a RuboCop configuration file to disable rules that are redundant with Syntax Tree. To use this configuration file, add the following snippet to the top of your project's `.rubocop.yml`:
412
+
413
+
```yaml
414
+
inherit_gem:
415
+
syntax_tree: config/rubocop.yml
416
+
```
417
+
418
+
### VSCode
419
+
420
+
To integrate Syntax Tree into VSCode, you should use the official VSCode extension [ruby-syntax-tree/vscode-syntax-tree](https://github.com/ruby-syntax-tree/vscode-syntax-tree).
421
+
398
422
## Contributing
399
423
400
424
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby-syntax-tree/syntax_tree.
0 commit comments