mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
#
|
|
# Configuration of obsolete/deprecated cops used by `ConfigObsoletion`.
|
|
#
|
|
# See: https://docs.rubocop.org/rubocop/extensions.html#config-obsoletions
|
|
#
|
|
|
|
# Cop parameters that have been changed
|
|
# Can be treated as a warning instead of a failure with `severity: warning`
|
|
changed_parameters:
|
|
- cops:
|
|
- RSpec/VariableName
|
|
parameters: IgnoredPatterns
|
|
alternative: AllowedPatterns
|
|
severity: warning
|
|
- cops: RSpec/VerifiedDoubleReference
|
|
parameters: EnforcedStyle
|
|
reason: String references are not verifying unless the class is loaded.
|
|
|
|
split:
|
|
RSpec/FilePath:
|
|
alternatives:
|
|
- RSpec/SpecFilePathFormat
|
|
- RSpec/SpecFilePathSuffix
|
|
|
|
removed:
|
|
RSpec/Capybara/FeatureMethods:
|
|
reason: >
|
|
this cop has migrated to `RSpec/Dialect`. Please use `RSpec/Dialect` instead
|
|
RSpec/StringAsInstanceDoubleConstant:
|
|
reason: Please use `RSpec/VerifiedDoubleReference` instead
|
|
|
|
extracted:
|
|
RSpec/Rails/*: rubocop-rspec_rails
|
|
RSpec/FactoryBot/*: rubocop-factory_bot
|
|
RSpec/Capybara/*: rubocop-capybara
|