Skip to content

Suppress the warning about requiring the json.rb file #84

Suppress the warning about requiring the json.rb file

Suppress the warning about requiring the json.rb file #84

Triggered via push August 13, 2023 14:54
Status Failure
Total duration 30s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

rubocop.yml

on: push
Formatting Check
21s
Formatting Check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Formatting Check: ext/oj/extconf.rb#L53
[Correctable] Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
Formatting Check: ext/oj/extconf.rb#L70
[Correctable] Style/CommandLiteral: Use backticks around command string.
Formatting Check: lib/oj/active_support_helper.rb#L8
Naming/MethodName: Use snake_case for method names.
Formatting Check: lib/oj/active_support_helper.rb#L27
[Correctable] Layout/EmptyLineBetweenDefs: Expected 1 empty line between method definitions; found 0.
Formatting Check: lib/oj/active_support_helper.rb#L30
[Correctable] Layout/EmptyLineBetweenDefs: Expected 1 empty line between method definitions; found 0.
Formatting Check: lib/oj/active_support_helper.rb#L33
[Correctable] Layout/EmptyLineBetweenDefs: Expected 1 empty line between method definitions; found 0.
Formatting Check: lib/oj/active_support_helper.rb#L36
[Correctable] Layout/EmptyLineBetweenDefs: Expected 1 empty line between method definitions; found 0.
Formatting Check: lib/oj/bag.rb#L4
[Correctable] Layout/EmptyLinesAroundModuleBody: Extra empty line detected at module body beginning.
Formatting Check: lib/oj/bag.rb#L17
[Correctable] Layout/SpaceAroundEqualsInParameterDefault: Surrounding space detected in default value assignment.
Formatting Check: lib/oj/bag.rb#L19
[Correctable] Style/RedundantSelf: Redundant self detected.
Formatting Check: lib/oj/active_support_helper.rb#L24
[Correctable] Lint/UselessMethodDefinition: Useless method definition detected.
Formatting Check: lib/oj/active_support_helper.rb#L27
[Correctable] Lint/UselessMethodDefinition: Useless method definition detected.
Formatting Check: lib/oj/active_support_helper.rb#L30
[Correctable] Lint/UselessMethodDefinition: Useless method definition detected.
Formatting Check: lib/oj/active_support_helper.rb#L33
[Correctable] Lint/UselessMethodDefinition: Useless method definition detected.
Formatting Check: lib/oj/active_support_helper.rb#L36
[Correctable] Lint/UselessMethodDefinition: Useless method definition detected.
Formatting Check: lib/oj/bag.rb#L39
[Correctable] Lint/UnusedMethodArgument: Unused method argument - block. If it's necessary, use _ or _block as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
Formatting Check: lib/oj/easy_hash.rb#L33
[Correctable] Lint/UnusedMethodArgument: Unused method argument - block. If it's necessary, use _ or _block as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
Formatting Check: lib/oj/json.rb#L13
Lint/BinaryOperatorWithIdenticalOperands: Binary operator / has identical operands.
Formatting Check: lib/oj/state.rb#L105
[Correctable] Lint/UnusedMethodArgument: Unused method argument - k. If it's necessary, use _ or _k as an argument name to indicate that it won't be used. If it's unnecessary, remove it. You can also write as has_key?(*) if you want the method to accept any arguments but don't care about them.
Formatting Check: test/isolated/test_mimic_rails_after.rb#L10
[Correctable] Lint/UselessAssignment: Useless assignment to variable - e.