зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +03:00
Align RuboCop TargetRubyVersion with gemspec's required_ruby_version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
71 строка
1.1 KiB
YAML
71 строка
1.1 KiB
YAML
---
|
|
plugins:
|
|
- rubocop-capybara
|
|
- rubocop-packaging
|
|
- rubocop-performance
|
|
- rubocop-rails
|
|
- rubocop-rspec
|
|
- rubocop-rspec_rails
|
|
|
|
inherit_mode:
|
|
merge:
|
|
- Exclude
|
|
|
|
AllCops:
|
|
NewCops: enable
|
|
TargetRubyVersion: 3.2
|
|
SuggestExtensions: false
|
|
DisplayCopNames: true
|
|
CacheRootDirectory: tmp/rubocop-cache
|
|
Exclude:
|
|
- bin/*
|
|
- coverage/**/*
|
|
- db/schema.rb
|
|
- docs/**/*
|
|
- examples/**/*
|
|
- gemfiles/**/*
|
|
- spec/dummy/**/*
|
|
- vendor/**/*
|
|
|
|
Layout/LineLength:
|
|
Max: 120
|
|
|
|
Metrics/BlockLength:
|
|
Enabled: true
|
|
Exclude:
|
|
- spec/**/*
|
|
- docs/**/*
|
|
|
|
Metrics/MethodLength:
|
|
Max: 20
|
|
Exclude:
|
|
- spec/**/*
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/StringLiterals:
|
|
EnforcedStyle: single_quotes
|
|
|
|
Style/StringLiteralsInInterpolation:
|
|
EnforcedStyle: double_quotes
|
|
|
|
RSpec/ExampleLength:
|
|
Max: 12
|
|
Exclude:
|
|
- spec/system/**/*
|
|
|
|
RSpec/MultipleExpectations:
|
|
Max: 4
|
|
Exclude:
|
|
- spec/system/**/*
|
|
|
|
RSpec/MultipleMemoizedHelpers:
|
|
Max: 10
|
|
|
|
Rails/SkipsModelValidations:
|
|
Enabled: true
|
|
|
|
Rails/ActiveRecordAliases:
|
|
Enabled: true
|