Sha256: 1cacd1b544eaf434be8dbd3eb1e232c5431a163d2ad5dfe75ece02769d4edbf3

Contents?: true

Size: 1.02 KB

Versions: 9

Compression:

Stored size: 1.02 KB

Contents

inherit_from: .rubocop_todo.yml

require:
  - rubocop-rake
  - rubocop-rspec

AllCops:
  EnabledByDefault: true
  TargetRubyVersion: 2.7

Metrics/BlockLength:
  Exclude:
    - japanese_address_parser.gemspec
    - spec/**/*_spec.rb

# contextの記述を日本語で記述するのを許容する。
RSpec/ContextWording:
  Enabled: false

# MITなのでファイルの著作権は記載しない。
Style/Copyright:
  Enabled: false

# コメントを日本語で記述するのを許容する。
Style/AsciiComments:
  Enabled: false

Style/StringHashKeys:
  Exclude:
    # CSVのヘッダーの日本語を解釈するために日本語文字列のハッシュを許容する。
    - lib/japanese_address_parser/csv_parser.rb

    # ライブラリが返すハッシュのキーが文字列なので許容する。
    - spec/japanese_address_parser/address_normalizer_spec.rb

# elseがない場合にはcase文ではなくif文を許容する。
Style/MissingElse:
  EnforcedStyle: case

Gemspec/DependencyVersion:
  EnforcedStyle: forbidden

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
japanese_address_parser-3.1.2 .rubocop.yml
japanese_address_parser-3.1.1 .rubocop.yml
japanese_address_parser-3.1.0 .rubocop.yml
japanese_address_parser-3.0.5 .rubocop.yml
japanese_address_parser-3.0.4 .rubocop.yml
japanese_address_parser-3.0.3 .rubocop.yml
japanese_address_parser-3.0.2 .rubocop.yml
japanese_address_parser-3.0.1 .rubocop.yml
japanese_address_parser-3.0.0 .rubocop.yml