manual/cops_sorbet.md in rubocop-sorbet-0.7.8 vs manual/cops_sorbet.md in rubocop-sorbet-0.8.0
- old
+ new
@@ -731,17 +731,16 @@
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---
Enabled | Yes | Yes | 0.3.0 | -
-Checks for the correct order of sig builder methods:
-- abstract, override, or overridable
-- type_parameters
-- params
-- returns, or void
-- soft, checked, or on_failure
+Checks for the correct order of `sig` builder methods.
+Options:
+
+* `Order`: The order in which to enforce the builder methods are called.
+
### Examples
```ruby
# bad
sig { void.abstract }
@@ -753,9 +752,15 @@
sig { returns(Integer).params(x: Integer) }
# good
sig { params(x: Integer).returns(Integer) }
```
+
+### Configurable attributes
+
+Name | Default value | Configurable values
+--- | --- | ---
+Order | `final`, `abstract`, `implementation`, `override`, `overridable`, `type_parameters`, `params`, `bind`, `returns`, `void`, `soft`, `checked`, `on_failure` | Array
## Sorbet/SingleLineRbiClassModuleDefinitions
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---