2016-09-29 22:28:21 +03:00
|
|
|
Rails:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/PerlBackrefs:
|
|
|
|
AutoCorrect: false
|
|
|
|
|
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
Enabled: false
|
|
|
|
|
2016-10-22 20:38:47 +03:00
|
|
|
Metrics/BlockNesting:
|
|
|
|
Max: 2
|
|
|
|
|
|
|
|
Metrics/LineLength:
|
|
|
|
AllowURI: true
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
CountComments: false
|
|
|
|
Max: 10
|
|
|
|
|
2016-11-15 17:56:29 +02:00
|
|
|
Metrics/AbcSize:
|
2016-10-22 20:38:47 +03:00
|
|
|
Max: 100
|
|
|
|
|
2016-11-15 17:56:29 +02:00
|
|
|
Metrics/BlockNesting:
|
|
|
|
Max: 3
|
|
|
|
|
|
|
|
Metrics/ClassLength:
|
|
|
|
CountComments: false
|
|
|
|
Max: 200
|
|
|
|
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Max: 15
|
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
Max: 55
|
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
CountComments: false
|
|
|
|
Max: 200
|
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Max: 10
|
|
|
|
|
2016-10-22 20:38:47 +03:00
|
|
|
Metrics/ParameterLists:
|
|
|
|
Max: 4
|
|
|
|
CountKeywordArgs: true
|
|
|
|
|
|
|
|
Style/AccessModifierIndentation:
|
|
|
|
EnforcedStyle: indent
|
|
|
|
|
|
|
|
Style/CollectionMethods:
|
|
|
|
Enabled: true
|
|
|
|
PreferredMethods:
|
|
|
|
find_all: 'select'
|
|
|
|
|
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/DoubleNegation:
|
2016-11-15 17:56:29 +02:00
|
|
|
Enabled: true
|
2016-10-22 20:38:47 +03:00
|
|
|
|
|
|
|
Style/FrozenStringLiteralComment:
|
2016-11-15 17:56:29 +02:00
|
|
|
Enabled: true
|
2016-10-22 20:38:47 +03:00
|
|
|
|
|
|
|
Style/SpaceInsideHashLiteralBraces:
|
|
|
|
EnforcedStyle: space
|
|
|
|
|
|
|
|
Style/TrailingCommaInLiteral:
|
|
|
|
EnforcedStyleForMultiline: 'comma'
|
|
|
|
|
|
|
|
Style/RegexpLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
2016-11-15 17:56:29 +02:00
|
|
|
Style/Lambda:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/HasAndBelongsToMany:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-05-01 17:31:02 +03:00
|
|
|
Bundler/OrderedGems:
|
|
|
|
Enabled: false
|
|
|
|
|
2016-10-22 20:38:47 +03:00
|
|
|
AllCops:
|
2016-11-15 17:56:29 +02:00
|
|
|
TargetRubyVersion: 2.3
|
2016-10-22 20:38:47 +03:00
|
|
|
Exclude:
|
|
|
|
- 'spec/**/*'
|
|
|
|
- 'db/**/*'
|
|
|
|
- 'app/views/**/*'
|
|
|
|
- 'config/**/*'
|
2016-11-15 17:56:29 +02:00
|
|
|
- 'bin/*'
|
|
|
|
- 'Rakefile'
|
2016-12-29 21:12:32 +02:00
|
|
|
- 'node_modules/**/*'
|
2017-01-15 15:01:33 +02:00
|
|
|
- 'Vagrantfile'
|
2017-04-30 01:23:45 +03:00
|
|
|
- 'vendor/**/*'
|