Showing 1,401 of 1,401 total issues
Line is too long. [90/80] Open
Open
message += "#{level_color}#{log.level_to_s}#{colors::CLEAR} [#{log.process_info}]"
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
increment("success", add_tags(module_name, action, opts))
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
require "awesome_print"
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
message += " " + log.tags.collect { |tag| "[#{tag}]" }.join(" ") if log.tags && !log.tags.empty?
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
""
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Line is too long. [119/80] Open
Open
message += " -- Exception: #{colors::BOLD}#{log.exception.class}: #{log.exception.message}#{colors::CLEAR}\n"
- Exclude checks
Extra empty line detected at module body end. Open
Open
end
- Read upRead up
- Exclude checks
This cops checks if empty lines around the bodies of modules match the configuration.
Example: EnforcedStyle: empty_lines
# good
module Foo
def bar
# ...
end
end
Example: EnforcedStyle: emptylinesexcept_namespace
# good
module Foo
module Bar
# ...
end
end
Example: EnforcedStyle: emptylinesspecial
# good
module Foo
def bar; end
end
Example: EnforcedStyle: noemptylines (default)
# good
module Foo
def bar
# ...
end
end
TODO found Open
Open
# TODO: Wait with adding appenders until they are needed solve this by below
- Exclude checks
TODO found Open
Open
# TODO Comment out this rule if environment variables can be committed
- Exclude checks
TODO found Open
Open
# TODO: Implement this mehtod in all appenders
- Exclude checks
TODO found Open
Open
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
- Exclude checks
TODO found Open
Open
# TODO: Output relevant message when appender isn't valid
- Exclude checks
TODO found Open
Open
# TODO: Move this to logger.rb?
- Exclude checks
TODO found Open
Open
# TODO: Implement possibility of finding and deleting appenders by env
- Exclude checks
TODO found Open
Open
# TODO: Make it possible to remove appenders by type
- Exclude checks
TODO found Open
Open
# TODO Comment out this rule if environment variables can be committed
- Exclude checks
TODO found Open
Open
# TODO: Check this valid? method before using appender, output above error message if not valid?
- Exclude checks
TODO found Open
Open
# TODO: Move this to logger.rb?
- Exclude checks
TODO found Open
Open
# TODO: Implement a format string with class name and interesting values
- Exclude checks
TODO found Open
Open
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
- Exclude checks