[ELITERT-1198] Add action to run Ruby linters #11
Annotations
2 errors and 10 warnings
Run Rubocop
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
Run Rubocop
Process completed with exit code 1.
|
Run Rubocop:
lib/something.rb#L1
[rubocop] reported by reviewdog 🐶
Missing top-level documentation comment for `class My_Class`.
Raw Output:
lib/something.rb:1:1: C: Style/Documentation: Missing top-level documentation comment for `class My_Class`.
|
Run Rubocop:
lib/something.rb#L1
[rubocop] reported by reviewdog 🐶
Missing frozen string literal comment.
Raw Output:
lib/something.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
Run Rubocop:
lib/something.rb#L1
[rubocop] reported by reviewdog 🐶
Use CamelCase for classes and modules.
Raw Output:
lib/something.rb:1:7: C: Naming/ClassAndModuleCamelCase: Use CamelCase for classes and modules.
|
Run Rubocop:
lib/something.rb#L2
[rubocop] reported by reviewdog 🐶
Assignment Branch Condition size for doSomething is too high. [<5, 22, 16> 27.66/17]
Raw Output:
lib/something.rb:2:3: C: Metrics/AbcSize: Assignment Branch Condition size for doSomething is too high. [<5, 22, 16> 27.66/17]
|
Run Rubocop:
lib/something.rb#L2
[rubocop] reported by reviewdog 🐶
Cyclomatic complexity for doSomething is too high. [16/7]
Raw Output:
lib/something.rb:2:3: C: Metrics/CyclomaticComplexity: Cyclomatic complexity for doSomething is too high. [16/7]
|
Run Rubocop:
lib/something.rb#L2
[rubocop] reported by reviewdog 🐶
Method has too many lines. [26/15]
Raw Output:
lib/something.rb:2:3: C: Metrics/MethodLength: Method has too many lines. [26/15]
|
Run Rubocop:
lib/something.rb#L2
[rubocop] reported by reviewdog 🐶
Perceived complexity for doSomething is too high. [14/8]
Raw Output:
lib/something.rb:2:3: C: Metrics/PerceivedComplexity: Perceived complexity for doSomething is too high. [14/8]
|
Run Rubocop:
lib/something.rb#L2
[rubocop] reported by reviewdog 🐶
Use snake_case for method names.
Raw Output:
lib/something.rb:2:7: C: Naming/MethodName: Use snake_case for method names.
|
Run Rubocop:
lib/something.rb#L2
[rubocop] reported by reviewdog 🐶
Avoid parameter lists longer than 5 parameters. [7/5]
Raw Output:
lib/something.rb:2:18: C: Metrics/ParameterLists: Avoid parameter lists longer than 5 parameters. [7/5]
|
Run Rubocop:
lib/something.rb#L7
[rubocop] reported by reviewdog 🐶
Useless assignment to variable - `e`.
Raw Output:
lib/something.rb:7:7: W: Lint/UselessAssignment: Useless assignment to variable - `e`.
|
Loading