BEaStia/nats_listener

View on GitHub

Showing 6 of 6 total issues

Operator < should be surrounded by a single space.
Open

  class Subscriber <  NatsListenerCore::AbstractSubscriber
Severity: Minor
Found in lib/nats_listener/subscriber.rb by rubocop

Checks that operators have space around them, except for ** which should not have surrounding space.

Example:

# bad
total = 3*4
"apple"+"juice"
my_number = 38/4
a ** b

# good
total = 3 * 4
"apple" + "juice"
my_number = 38 / 4
a**b

Operator = should be surrounded by a single space.
Open

      @logger =  NatsListenerCore::ClientLogger.new(opts)
Severity: Minor
Found in lib/nats_listener/client.rb by rubocop

Checks that operators have space around them, except for ** which should not have surrounding space.

Example:

# bad
total = 3*4
"apple"+"juice"
my_number = 38/4
a ** b

# good
total = 3 * 4
"apple" + "juice"
my_number = 38 / 4
a**b

Unnecessary spacing detected.
Open

      @client_catcher =  NatsListenerCore::ClientCatcher.new(opts)
Severity: Minor
Found in lib/nats_listener/client.rb by rubocop

This cop checks for extra/unnecessary whitespace.

Example:

# good if AllowForAlignment is true
name      = "RuboCop"
# Some comment and an empty line

website  += "/bbatsov/rubocop" unless cond
puts        "rubocop"          if     debug

# bad for any configuration
set_app("RuboCop")
website  = "https://github.com/bbatsov/rubocop"

Unnecessary spacing detected.
Open

      @logger =  NatsListenerCore::ClientLogger.new(opts)
Severity: Minor
Found in lib/nats_listener/client.rb by rubocop

This cop checks for extra/unnecessary whitespace.

Example:

# good if AllowForAlignment is true
name      = "RuboCop"
# Some comment and an empty line

website  += "/bbatsov/rubocop" unless cond
puts        "rubocop"          if     debug

# bad for any configuration
set_app("RuboCop")
website  = "https://github.com/bbatsov/rubocop"

Unnecessary spacing detected.
Open

  class Subscriber <  NatsListenerCore::AbstractSubscriber
Severity: Minor
Found in lib/nats_listener/subscriber.rb by rubocop

This cop checks for extra/unnecessary whitespace.

Example:

# good if AllowForAlignment is true
name      = "RuboCop"
# Some comment and an empty line

website  += "/bbatsov/rubocop" unless cond
puts        "rubocop"          if     debug

# bad for any configuration
set_app("RuboCop")
website  = "https://github.com/bbatsov/rubocop"

Operator = should be surrounded by a single space.
Open

      @client_catcher =  NatsListenerCore::ClientCatcher.new(opts)
Severity: Minor
Found in lib/nats_listener/client.rb by rubocop

Checks that operators have space around them, except for ** which should not have surrounding space.

Example:

# bad
total = 3*4
"apple"+"juice"
my_number = 38/4
a ** b

# good
total = 3 * 4
"apple" + "juice"
my_number = 38 / 4
a**b
Severity
Category
Status
Source
Language