Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
paracycle committed Mar 9, 2022
1 parent 427cd7f commit c0b4cb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manual/cops.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ In the following section you find all available cops:
* [Sorbet/ValidSigil](cops_sorbet.md#sorbetvalidsigil)

<!-- END_COP_LIST -->

In addition to the cops defined in this gem, it also modifies the behaviour of some other cops
defined in other RuboCop gems:

* [Style/MutableConstant](https://docs.rubocop.org/rubocop/cops_style.html#stylemutableconstant): In addition to the default behaviour, RuboCop Sorbet makes this cop `T.let` aware, so that `CONST = T.let([1, 2, 3], T::Array[Integer])` is also treated as a mutable literal constant value.

0 comments on commit c0b4cb0

Please sign in to comment.