RuboCop Integration
Setup
require:
- operandi/rubocopAvailable Cops
Operandi/ArgumentTypeRequired
# bad
arg :user_id
arg :params, default: {}
# good
arg :user_id, type: Integer
arg :params, type: Hash, default: {}Operandi/OutputTypeRequired
Operandi/StepMethodExists
Operandi/ConditionMethodExists
Operandi/DslOrder
Operandi/MissingPrivateKeyword
Operandi/NoDirectInstantiation
Operandi/DeprecatedMethods
Operandi/PreferFailMethod
Configuration
What's Next?
Last updated