ddfreyne/d-parse

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 300`
# on 2021-04-17 13:05:40 UTC using RuboCop version 1.12.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: 1
# Configuration parameters: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
  Exclude:
    - 'spec/d-parse/parser_spec.rb'

# Offense count: 19
Lint/MissingSuper:
  Exclude:
    - 'lib/d-parse/parsers/combinators/alt.rb'
    - 'lib/d-parse/parsers/combinators/repeat.rb'
    - 'lib/d-parse/parsers/combinators/seq.rb'
    - 'lib/d-parse/parsers/highlevel/char_in.rb'
    - 'lib/d-parse/parsers/highlevel/intersperse.rb'
    - 'lib/d-parse/parsers/highlevel/json.rb'
    - 'lib/d-parse/parsers/highlevel/opt.rb'
    - 'lib/d-parse/parsers/highlevel/string.rb'
    - 'lib/d-parse/parsers/highlevel/whitespace_char.rb'
    - 'lib/d-parse/parsers/modifiers/capturing.rb'
    - 'lib/d-parse/parsers/modifiers/describe.rb'
    - 'lib/d-parse/parsers/modifiers/ignore.rb'
    - 'lib/d-parse/parsers/modifiers/lazy.rb'
    - 'lib/d-parse/parsers/modifiers/map.rb'
    - 'lib/d-parse/parsers/primitives/bind.rb'
    - 'lib/d-parse/parsers/primitives/char.rb'
    - 'lib/d-parse/parsers/primitives/char_not.rb'
    - 'lib/d-parse/parsers/primitives/char_not_in.rb'
    - 'lib/d-parse/parsers/primitives/except.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:
    - 'lib/d-parse.rb'

# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: separated, grouped
Style/AccessorGrouping:
  Exclude:
    - 'lib/d-parse/failure.rb'
    - 'lib/d-parse/position.rb'
    - 'lib/d-parse/success.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowSplatArgument.
Style/HashConversion:
  Exclude:
    - 'lib/d-parse/parsers/highlevel/json.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: Methods.
Style/RedundantArgument:
  Exclude:
    - 'lib/d-parse/parsers/highlevel/json.rb'

# Offense count: 7
# Cop supports --auto-correct.
Style/RedundantFileExtensionInRequire:
  Exclude:
    - 'lib/d-parse.rb'

# Offense count: 5
# Cop supports --auto-correct.
Style/StringConcatenation:
  Exclude:
    - 'lib/d-parse/failure.rb'
    - 'lib/d-parse/parsers/primitives/except.rb'
    - 'lib/d-parse/success.rb'