phallstrom / slackistrano

Slack integration for Capistrano deployments.
MIT License
374 stars 74 forks source link

Update README.md #55

Closed chrishough closed 8 years ago

chrishough commented 8 years ago

I have adjusted the sample file to pass rubocop with the settings:

# rubocop:disable all
# TODO - FIX COP
# rubocop:enable all

AllCops:
  TargetRubyVersion: 2.0
  Exclude:
    - 'bin/**/*'
    - 'db/**/*'
    - 'script/**/*'
    - 'Rakefile'
    - 'Gemfile'
    - 'Guardfile'
    - 'config/initializers/*'
    - 'config/application.rb'
    - 'config/unicorn.rb'
    - 'tmp.rb'
    - 'scratch.rb'
    - 'lib/assets/**/*'
    - '_archive-transition-to-api-only/**/*'

# Disable documentation cops
Documentation:
  Enabled: false

Style/MultilineOperationIndentation:
  Enabled: false

Metrics/ClassLength:
  Max: 180

Metrics/MethodLength:
  Max: 16

Metrics/LineLength:
  Max: 180
  Exclude:
    - 'spec/features/*'

Style/ClassAndModuleChildren:
  EnforcedStyle: compact
  Enabled: false
chrishough commented 7 years ago

Thank you @phallstrom