Sha256: 206d3a7789350932d5673d18c51249db902c3baf4c58ee22fb138491e90d5265

Contents?: true

Size: 818 Bytes

Versions: 1

Compression:

Stored size: 818 Bytes

Contents

# merge the default 'Exclude' key with ours
inherit_mode:
  merge:
    - Exclude

require:
  - rubocop-minitest
  - rubocop-performance
  - rubocop-rake

AllCops:
  NewCops: enable
  StyleGuideBaseURL: https://rubystyle.guide
  TargetRubyVersion: 2.7
  SuggestExtensions: false

  Exclude:
    - bin/**/*
    - tmp/**/*

Bundler/OrderedGems:
  Include:
    - '*.gemspec'


# Enforce single quotes in the gem
Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes

Style/HashSyntax:
  EnforcedStyle: no_mixed_keys # consistent hash syntax
  EnforcedShorthandSyntax: consistent # enforce explicit hash syntax

# Project maximum code line length
Layout/LineLength:
  Max: 120

# Exclude test files from BlockComments check
Style/BlockComments:
  Exclude:
    - 'test/**/*'

Metrics/MethodLength:
  Max: 100

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cppjieba_rb-0.4.4 .rubocop.yml