https://github.com/guard/guard
Revision 7b9bb1831b737b7edf03abc74e449318f7fc6789 authored by Rémy Coutable on 01 November 2019, 00:19:57 UTC, committed by GitHub on 01 November 2019, 00:19:57 UTC
Don't swallow evaluator error by handling non-existant listener & interactor
2 parent s a9cbc40 + c1ad9ee
Raw File
Tip revision: 7b9bb1831b737b7edf03abc74e449318f7fc6789 authored by Rémy Coutable on 01 November 2019, 00:19:57 UTC
Merge pull request #939 from guard/937-do-not-swallow-guardfile-evaluation-errors
Tip revision: 7b9bb18
.rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-08-06 16:49:52 +0200 using RuboCop version 0.42.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 9
Lint/NestedMethodDefinition:
  Exclude:
    - 'lib/guard/commands/all.rb'
    - 'lib/guard/commands/change.rb'
    - 'lib/guard/commands/notification.rb'
    - 'lib/guard/commands/pause.rb'
    - 'lib/guard/commands/reload.rb'
    - 'lib/guard/commands/scope.rb'
    - 'lib/guard/commands/show.rb'
    - 'lib/guard/jobs/pry_wrapper.rb'

# Offense count: 7
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, lib/**/*.rb
Rails/Exit:
  Exclude:
    - 'lib/**/*.rake'
    - 'lib/guard.rb'
    - 'lib/guard/cli.rb'
    - 'lib/tasks/releaser.rb'

# Offense count: 39
# Cop supports --auto-correct.
Style/MutableConstant:
  Exclude:
    - 'Rakefile'
    - 'lib/guard/dsl.rb'
    - 'lib/guard/guardfile.rb'
    - 'lib/guard/guardfile/evaluator.rb'
    - 'lib/guard/guardfile/generator.rb'
    - 'lib/guard/internals/debugging.rb'
    - 'lib/guard/internals/groups.rb'
    - 'lib/guard/internals/session.rb'
    - 'lib/guard/jobs/pry_wrapper.rb'
    - 'lib/guard/notifier.rb'
    - 'lib/guard/plugin.rb'
    - 'lib/guard/plugin_util.rb'
    - 'lib/guard/runner.rb'
    - 'lib/guard/ui/colors.rb'
    - 'lib/guard/version.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  Exclude:
    - 'lib/guard/dsl_describer.rb'
    - 'lib/guard/terminal.rb'

# Offense count: 1
# Cop supports --auto-correct.
Layout/SpaceInsideArrayPercentLiteral:
  Exclude:
    - 'guard.gemspec'

# Offense count: 41
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
Layout/SpaceInsideStringInterpolation:
  Exclude:
    - 'lib/guard.rb'
    - 'lib/guard/cli.rb'
    - 'lib/guard/commander.rb'
    - 'lib/guard/commands/all.rb'
    - 'lib/guard/commands/reload.rb'
    - 'lib/guard/commands/scope.rb'
    - 'lib/guard/dsl.rb'
    - 'lib/guard/guardfile/evaluator.rb'
    - 'lib/guard/jobs/pry_wrapper.rb'
    - 'lib/guard/plugin.rb'
    - 'lib/guard/plugin_util.rb'
    - 'lib/guard/runner.rb'
    - 'lib/guard/ui.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
  Exclude:
    - 'Rakefile'
back to top