mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 13:12:22 -05:00
537676a883
* Bump rubocop from 0.89.1 to 1.6.1 in /dependencies Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.89.1 to 1.6.1. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.89.1...v1.6.1) Signed-off-by: dependabot[bot] <support@github.com> * fix language Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
7 lines
1.1 KiB
Text
7 lines
1.1 KiB
Text
TAP version 13
|
|
1..2
|
|
not ok 1 - ruby_bad_1.rb
|
|
---
|
|
message: Inspecting 1 file\nC\n\nOffenses \n\nruby/ruby_bad_1.rb 1 1 C [Correctable] Style/FrozenStringLiteralComment Missing frozen string literal comment.\nruby/ruby_bad_1.rb 11 11 C [Correctable] Style/StringLiterals Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^^^^^^^^^^^^^^^\nruby/ruby_bad_1.rb 11 32 C [Correctable] Layout/SpaceInsideParens Space inside parentheses detected.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^\nruby/ruby_bad_1.rb 11 39 C [Correctable] Layout/SpaceAroundBlockParameters Space before first block parameter detected.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^\nruby/ruby_bad_1.rb 12 24 C [Correctable] Layout/SpaceAroundBlockParameters Space after last block parameter detected.\n Hook.active.map do |h |\n ^\nruby/ruby_bad_1.rb 13 13 C [Correctable] Layout/SpaceInsideArrayLiteralBrackets Do not use space inside array brackets.\n urls = [ ARRAY_OF_URLS_CALLING_INSTANCE]\n ^\n\n1 file inspected,6 offenses detected, 6 offenses auto-correctable\n
|
|
...
|
|
ok 2 - ruby_good_1.rb
|