Skip to content

Instantly share code, notes, and snippets.

@crmaxx
Created March 6, 2015 08:19
Show Gist options
  • Save crmaxx/4744cd5f4428ac0923c6 to your computer and use it in GitHub Desktop.
Save crmaxx/4744cd5f4428ac0923c6 to your computer and use it in GitHub Desktop.
My rubocop rules
Style/IfUnlessModifier:
MaxLineLength: 120
Style/WhileUntilModifier:
MaxLineLength: 120
Style/AsciiComments:
Enabled: false
Style/DotPosition:
Enabled: false
Style/MultilineOperationIndentation:
Enabled: false
StringLiterals:
Enabled: false
Metrics/ClassLength:
Max: 300
MethodLength:
Max: 25
Metrics/LineLength:
Max: 120
AllowURI: true
Metrics/AbcSize:
Max: 25
Documentation:
Enabled: false
# TODO: Fix this
# AllCops:
# Include:
# - **/Rakefile
# - **/Capfile
# - **/config.ru
# Exclude:
# - db/**
# - config/**
# - script/**
# - faye/**
@valyukov
Copy link

valyukov commented Mar 6, 2015

и Style/DotPosition у нас вроде приняли leading?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment