Showing 72 of 72 total issues
unexpected token kDO_BLOCK
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
rn_client = OSvCRuby::Client.new do |c|
- Exclude checks
unexpected token tIDENTIFIER
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
\033[32mc.password = env['OSC_PASSWORD']\033[0m,
- Exclude checks
unexpected token kEND
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
end
- Exclude checks
unexpected token tIDENTIFIER
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
}\033[0m
- Exclude checks
unexpected token tLSHFT
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
CLIENT_NOT_DEFINED = <<~HEREDOC
- Exclude checks
bare backslash only allowed before newline
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
\033[32mc.username = env['OSC_ADMIN']\033[0m,
- Exclude checks
unexpected token tLSHFT
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
QUERY_RESULTS_NO_QUERY = <<~HEREDOC
- Exclude checks
unexpected token kDO_BLOCK
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
rn_client = OSvCRuby::Client.new do |c|
- Exclude checks
unexpected token tIDENTIFIER
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
\033[32mfiles: ["./setup.py"]\033[0m
- Exclude checks
end
at 43, 5 is not aligned with def
at 35, 2. Open
Open
end
- Read upRead up
- Exclude checks
This cop checks whether the end keywords of method definitions are aligned properly.
Two modes are supported through the EnforcedStyleAlignWith configuration
parameter. If it's set to start_of_line
(which is the default), the
end
shall be aligned with the start of the line where the def
keyword is. If it's set to def
, the end
shall be aligned with the
def
keyword.
Example: EnforcedStyleAlignWith: startofline (default)
# bad
private def foo
end
# good
private def foo
end
Example: EnforcedStyleAlignWith: def
# bad
private def foo
end
# good
private def foo
end
bare backslash only allowed before newline
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
}\033[0m
- Exclude checks
unexpected token tCOMMA
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
c.username = env['OSC_ADMIN'],
- Exclude checks
bare backslash only allowed before newline
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
\033[32mannotation: "Running Answer Search"\033[0m
- Exclude checks
unexpected token tRPAREN
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
)
- Exclude checks
unexpected token tLSHFT
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
CLIENT_NO_USERNAME_SET_EXAMPLE = <<~HEREDOC
- Exclude checks
unexpected token tIDENTIFIER
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
]\033[0m,
- Exclude checks
bare backslash only allowed before newline
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
\033[32m"id" => 176,\033[0m
- Exclude checks
bare backslash only allowed before newline
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
\033[32mc.username = env['OSC_ADMIN']\033[0m,
- Exclude checks
unexpected token kEND
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
end
- Exclude checks
unexpected token tINTEGER
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
\033[32mc.interface = env['OSC_SITE']\033[0m,
- Exclude checks