# I like trailing commas in maps.  They let me insert new elements and
# see them as one line in a diff, not two.
TrailingComma:
  Enabled: false

# I like trailing commas in maps.  They let me insert new elements and
# see them as one line in a diff, not two.
Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: comma

# If i'm using one function name and returning the contents of an
# attribute, that's OK.  The alternative would be this, which I find
# confusing and often not really what I mean:
#
# attr_reader :something_else
# alias_method :something, :something_else
Style/TrivialAccessors:
   ExactNameMatch: true

#
# Add 'XX X' to the standard list
#
Style/CommentAnnotation:
   Keywords:
    - "TOD\
       O"
    - FIXME
    - OPTIMIZE
    - HACK
    - REVIEW
    - "XX\
       X"

AllCops:
  TargetRubyVersion: 2.4

# I like trailing commas in maps.  They let me insert new elements and
# see them as one line in a diff, not two.
Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: comma

# If i'm using one function name and returning the contents of an
# attribute, that's OK.  The alternative would be this, which I find
# confusing and often not really what I mean:
#
# attr_reader :something_else
# alias_method :something, :something_else
Style/TrivialAccessors:
   ExactNameMatch: true

#
# Add 'XX X' to the standard list
#
Style/CommentAnnotation:
   Keywords:
    - "TOD\
       O"
    - FIXME
    - OPTIMIZE
    - HACK
    - REVIEW
    - "XX\
       X"

Set target Ruby version, remove removed cop config
Set target Ruby version, remove removed cop config
