teamcapybara--capybara/.rubocop.yml

135 lines
2.1 KiB
YAML
Raw Normal View History

2016-11-22 00:28:45 +00:00
AllCops:
2018-01-08 20:23:54 +00:00
DisabledByDefault: false
2017-11-13 21:04:47 +00:00
TargetRubyVersion: 2.2.2
Exclude:
2018-01-08 20:23:54 +00:00
- 'capybara.gemspec'
2016-11-22 00:28:45 +00:00
2018-01-09 22:05:50 +00:00
#################### Lint ################################
2016-11-22 00:28:45 +00:00
2018-01-09 22:05:50 +00:00
Metrics/LineLength:
Description: 'Limit lines to 80 characters.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
2017-11-13 21:04:47 +00:00
Enabled: false
2016-11-22 00:28:45 +00:00
2018-03-01 00:11:41 +00:00
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'lib/capybara/spec/**/*'
2016-11-22 00:28:45 +00:00
Metrics/AbcSize:
2018-01-12 00:45:50 +00:00
Enabled: false
2016-11-22 00:28:45 +00:00
Metrics/ClassLength:
2018-01-12 00:45:50 +00:00
CountComments: false
Enabled: false
2016-11-22 00:28:45 +00:00
Metrics/CyclomaticComplexity:
2018-01-12 00:45:50 +00:00
Enabled: false
2016-11-22 00:28:45 +00:00
Metrics/MethodLength:
2018-01-12 00:45:50 +00:00
CountComments: false
Enabled: false
2016-11-22 00:28:45 +00:00
Metrics/ModuleLength:
2018-01-12 00:45:50 +00:00
Enabled: false
CountComments: false
2016-11-22 00:28:45 +00:00
Metrics/PerceivedComplexity:
2018-01-12 00:45:50 +00:00
Enabled: false
2016-11-22 00:28:45 +00:00
2018-01-09 22:05:50 +00:00
Lint/UnusedMethodArgument:
Exclude:
- 'lib/capybara/driver/base.rb'
- 'lib/capybara/driver/node.rb'
2016-11-22 00:28:45 +00:00
2018-01-09 22:05:50 +00:00
Lint/HandleExceptions:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Lint/Loop:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Lint/EndAlignment:
EnforcedStyleAlignWith: variable
2016-11-22 00:28:45 +00:00
2018-01-09 22:05:50 +00:00
Naming/PredicateName:
Exclude:
- '**/*/*matchers.rb'
2016-11-22 00:28:45 +00:00
2018-01-09 22:05:50 +00:00
Style/RescueStandardError:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Style/ParallelAssignment:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Style/SingleLineMethods:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Style/StringLiterals:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Style/StringLiteralsInInterpolation:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Style/RegexpLiteral:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Style/RescueModifier:
2016-11-22 00:28:45 +00:00
Enabled: false
Style/Alias:
Enabled: false
Style/AndOr:
Enabled: false
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
2018-01-09 22:05:50 +00:00
Style/ClassVars:
2016-11-22 00:28:45 +00:00
Enabled: false
Style/GuardClause:
Enabled: false
2018-01-09 22:05:50 +00:00
Style/EmptyElse:
EnforcedStyle: empty
2016-11-22 00:28:45 +00:00
Style/RedundantReturn:
Enabled: false
2018-01-09 22:05:50 +00:00
Style/ClassAndModuleChildren:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-01-09 22:05:50 +00:00
Style/ModuleFunction:
2016-11-22 00:28:45 +00:00
Enabled: false
2018-03-01 00:11:41 +00:00
Style/NumericLiterals:
Exclude:
- 'lib/capybara/spec/**/*'
- 'spec/**/*'
Style/MultilineIfModifier:
Exclude:
- 'lib/capybara/spec/**/*'
- 'spec/**/*'
2018-01-09 22:05:50 +00:00
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
2016-11-22 00:28:45 +00:00
2018-01-09 22:05:50 +00:00
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
2018-01-09 22:05:50 +00:00
Layout/CaseIndentation:
EnforcedStyle: end
2018-03-01 00:11:41 +00:00
Layout/IndentArray:
EnforcedStyle: consistent
Security/YAMLLoad:
Exclude:
- 'lib/capybara/spec/**/*'
- 'spec/**/*'