ammar/regexp_parser

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
AllCops:
  DisabledByDefault: true
  Exclude:
    - '{bin,pkg,tmp,vendor}/**/*' # vendored dependencies etc.
    - 'lib/regexp_parser/scanner.rb' # Ragel-generated code
  NewCops: enable
  RubyInterpreters:
    - ruby
    - rake
  SuggestExtensions: false
  TargetRubyVersion: 2.6 # really 2.0, but 2.6 is lowest supported by rubocop

Lint:
  Enabled: true

# ignore weird looking regexps in specs, we have these on purpose
Lint/DuplicateRegexpCharacterClassElement:
  Exclude: ['spec/**/*']
Lint/MixedRegexpCaptureTypes:
  Exclude: ['spec/**/*']