.rubocop.yml
# Disable line-length check; it's too easy for the cure to be worse than the disease
Metrics/LineLength:
Enabled: False
# Disable parameter-length check; this is determined by the number of XML attributes defined in the DataCite schema
Metrics/ParameterLists:
Enabled: False
# Disable problematic module documentation check (see https://github.com/bbatsov/rubocop/issues/947)
Style/Documentation:
Enabled: false
# Allow one line around class body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundClassBody:
Enabled: false
# Allow one line around module body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundModuleBody:
Enabled: false
# Allow one line around block body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundBlockBody:
Enabled: false
# Allow leading underscores for 'internal' accessors
Lint/UnderscorePrefixedVariableName:
Enabled: false
# Seriously?
Style/CommentedKeyword:
Enabled: false
# Use DateTime to preserve compatibility
Style/DateTime:
Enabled: false
# Disable some checks in sample code
Style/ClassAndModuleChildren:
Exclude:
- 'examples/*'
Style/MixinUsage:
Exclude:
- 'examples/*'
Style/OptionalBooleanParameter:
Enabled: false
Naming/VariableNumber:
Enabled: false