.rubocop.disabled.yml
# These are all the cops that are disabled in the default configuration.
Capybara/MatchStyle: # new in 2.17
Enabled: false
Capybara/NegationMatcher: # new in 2.14
Enabled: false
Capybara/SpecificActions: # new in 2.14
Enabled: false
Capybara/SpecificFinders: # new in 2.13
Enabled: false
Capybara/SpecificMatcher: # new in 2.12
Enabled: false
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
Enabled: false
FactoryBot/FactoryNameStyle: # new in 2.16
Enabled: false
FactoryBot/SyntaxMethods: # new in 2.7
Enabled: false
Layout/ClassStructure:
Description: 'Enforces a configured order of definitions within a class body.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-classes'
Enabled: false
Layout/FirstArrayElementLineBreak:
Description: >-
Checks for a line break before the first element in a
multi-line array.
Enabled: false
Layout/FirstHashElementLineBreak:
Description: >-
Checks for a line break before the first element in a
multi-line hash.
Enabled: false
Layout/FirstMethodArgumentLineBreak:
Description: >-
Checks for a line break before the first argument in a
multi-line method call.
Enabled: false
Layout/FirstMethodParameterLineBreak:
Description: >-
Checks for a line break before the first parameter in a
multi-line method parameter definition.
Enabled: false
Layout/MultilineAssignmentLayout:
Description: 'Check for a newline after the assignment operator in multi-line assignments.'
StyleGuide: '#indent-conditional-assignment'
Enabled: false
# Lint/NumberConversion:
# Description: 'Checks unsafe usage of number conversion methods.'
# Enabled: false
RSpec/Rails/AvoidSetupHook: # new in 2.4
Enabled: false
RSpec/Rails/HaveHttpStatus: # new in 2.12
Enabled: false
RSpec/Rails/InferredSpecType: # new in 2.14
Enabled: false
RSpec/Rails/MinitestAssertions: # new in 2.17
Enabled: false
RSpec/Rails/TravelAround: # new in 2.19
Enabled: false
Style/AutoResourceCleanup:
Description: 'Suggests the usage of an auto resource cleanup version of a method (if available).'
Enabled: false
Style/CollectionMethods:
Description: 'Preferred collection methods.'
StyleGuide: '#map-find-select-reduce-size'
Enabled: false
Style/ConcatArrayLiterals: # new in 1.41
Enabled: false
Style/Copyright:
Description: 'Include a copyright notice in each file before any code.'
Enabled: false
Style/DoubleNegation:
Description: 'Checks for uses of double negation (!!).'
StyleGuide: '#no-bang-bang'
Enabled: false
Style/DocumentationMethod:
Description: 'Public methods.'
Enabled: false
Exclude:
- 'spec/**/*'
- 'test/**/*'
Style/ImplicitRuntimeError:
Description: >-
Use `raise` or `fail` with an explicit exception class and
message, rather than just a message.
Enabled: false
Style/InlineComment:
Description: 'Avoid trailing inline comments.'
Enabled: false
Style/MethodCallWithArgsParentheses:
Description: 'Use parentheses for method calls with arguments.'
StyleGuide: '#method-invocation-parens'
Enabled: false
Style/MethodCalledOnDoEndBlock:
Description: 'Avoid chaining a method call on a do...end block.'
StyleGuide: '#single-line-blocks'
Enabled: false
Style/MissingElse:
Description: >-
Require if/case expressions to have an else branches.
If enabled, it is recommended that
Style/UnlessElse and Style/EmptyElse be enabled.
This will conflict with Style/EmptyElse if
Style/EmptyElse is configured to style "both"
Enabled: false
Style/NestedParenthesizedCalls:
Description: >-
Parenthesize method calls which are nested inside the
argument list of another parenthesized method call.
Enabled: false
Style/OptionHash:
Description: "Don't use option hashes when you can use keyword arguments."
Enabled: false
Style/ReturnNil:
Description: 'Use return instead of return nil.'
Enabled: false
Style/Send:
Description: 'Prefer `Object#__send__` or `Object#public_send` to `send`, as `send` may overlap with existing methods.'
StyleGuide: '#prefer-public-send'
Enabled: false
Style/SingleLineBlockParams:
Description: 'Enforces the names of some block params.'
Enabled: false
Style/StringHashKeys:
Description: 'Prefer symbols instead of strings as hash keys.'
StyleGuide: '#symbols-as-keys'
Enabled: false
Style/StringMethods:
Description: 'Checks if configured preferred methods are used over non-preferred.'
Enabled: false