[ELITERT-1198] Add action to run Ruby linters #22
Annotations
5 errors
lint (2.7):
lib/something.rb#L48
[reek] reported by reviewdog 🐶
ControlParameter: MyClass#do_something_else_with is controlled by argument 'one' [https://github.com/troessner/reek/blob/v6.1.4/docs/Control-Parameter.md]
Raw Output:
lib/something.rb:48: ControlParameter: MyClass#do_something_else_with is controlled by argument 'one' [https://github.com/troessner/reek/blob/v6.1.4/docs/Control-Parameter.md]
|
lint (2.7):
lib/something.rb#L4
[reek] reported by reviewdog 🐶
InstanceVariableAssumption: MyClass assumes too much for instance variable '@Valid' [https://github.com/troessner/reek/blob/v6.1.4/docs/Instance-Variable-Assumption.md]
Raw Output:
lib/something.rb:4: InstanceVariableAssumption: MyClass assumes too much for instance variable '@Valid' [https://github.com/troessner/reek/blob/v6.1.4/docs/Instance-Variable-Assumption.md]
|
lint (2.7):
lib/something.rb#L10
[reek] reported by reviewdog 🐶
LongParameterList: MyClass#do_something has 7 parameters [https://github.com/troessner/reek/blob/v6.1.4/docs/Long-Parameter-List.md]
Raw Output:
lib/something.rb:10: LongParameterList: MyClass#do_something has 7 parameters [https://github.com/troessner/reek/blob/v6.1.4/docs/Long-Parameter-List.md]
|
lint (2.7):
lib/something.rb#L10
[reek] reported by reviewdog 🐶
TooManyStatements: MyClass#do_something has approx 12 statements [https://github.com/troessner/reek/blob/v6.1.4/docs/Too-Many-Statements.md]
Raw Output:
lib/something.rb:10: TooManyStatements: MyClass#do_something has approx 12 statements [https://github.com/troessner/reek/blob/v6.1.4/docs/Too-Many-Statements.md]
|
lint (2.7):
lib/something.rb#L28
[reek] reported by reviewdog 🐶
UncommunicativeVariableName: MyClass#do_something has the variable name 'n' [https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Variable-Name.md]
Raw Output:
lib/something.rb:28: UncommunicativeVariableName: MyClass#do_something has the variable name 'n' [https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Variable-Name.md]
|