|
- # This configuration was generated by
- # `rubocop --auto-gen-config`
- # on 2020-08-23 16:54:14 UTC using RuboCop version 0.89.1.
- # 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: 38
- # Cop supports --auto-correct.
- # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
- # SupportedHashRocketStyles: key, separator, table
- # SupportedColonStyles: key, separator, table
- # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
- Layout/HashAlignment:
- Exclude:
- - 'cucumber.gemspec'
- - 'lib/cucumber/cli/options.rb'
- - 'lib/cucumber/formatter/ansicolor.rb'
- - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
-
- # Offense count: 5
- # Cop supports --auto-correct.
- Lint/RedundantCopDisableDirective:
- Exclude:
- - 'lib/cucumber/errors.rb'
- - 'lib/cucumber/glue/proto_world.rb'
- - 'lib/cucumber/glue/registry_and_more.rb'
- - 'lib/cucumber/glue/snippet.rb'
-
- # Offense count: 1
- # Configuration parameters: AllowComments.
- Lint/SuppressedException:
- Exclude:
- - 'lib/cucumber/rake/task.rb'
-
- # Offense count: 1
- # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms.
- # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
- Naming/FileName:
- Exclude:
- - 'features/lib/step_definitions/iso-8859-1_steps.rb'
-
- # Offense count: 197
- # Cop supports --auto-correct.
- # Configuration parameters: EnforcedStyle.
- # SupportedStyles: always, always_true, never
- Style/FrozenStringLiteralComment:
- Enabled: false
-
- # Offense count: 5
- # Cop supports --auto-correct.
- # Configuration parameters: EnforcedStyle.
- # SupportedStyles: literals, strict
- Style/MutableConstant:
- Exclude:
- - 'lib/cucumber/cli/options.rb'
- - 'lib/cucumber/file_specs.rb'
- - 'lib/cucumber/runtime.rb'
- - 'lib/cucumber/term/ansicolor.rb'
-
- # Offense count: 5
- # Cop supports --auto-correct.
- # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
- # SupportedStyles: predicate, comparison
- Style/NumericPredicate:
- Exclude:
- - 'spec/**/*'
- - 'lib/cucumber/formatter/console.rb'
- - 'lib/cucumber/formatter/console_counts.rb'
- - 'lib/cucumber/glue/invoke_in_world.rb'
- - 'lib/cucumber/runtime.rb'
-
- # Offense count: 10
- # Cop supports --auto-correct.
- Style/RedundantFreeze:
- Exclude:
- - 'lib/cucumber/cli/options.rb'
- - 'lib/cucumber/formatter/unicode.rb'
- - 'spec/cucumber/step_match_spec.rb'
-
- # Offense count: 2
- # Cop supports --auto-correct.
- # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
- # AllowedMethods: present?, blank?, presence, try, try!
- Style/SafeNavigation:
- Exclude:
- - 'lib/cucumber/formatter/ansicolor.rb'
- - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
|