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.
56 lines
765 B
56 lines
765 B
require:
|
|
- rubocop-performance
|
|
- rubocop-rails
|
|
- rubocop-rspec
|
|
|
|
AllCops:
|
|
NewCops: enable
|
|
Exclude:
|
|
- db/schema.rb
|
|
- node_modules/**/*
|
|
- bin/*
|
|
TargetRubyVersion: '3.2'
|
|
|
|
Metrics/BlockLength:
|
|
Exclude:
|
|
- Rakefile
|
|
- '**/*.rake'
|
|
- spec/**/*
|
|
- config/environments/**/*
|
|
- config/routes.rb
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Lint/MissingSuper:
|
|
Enabled: false
|
|
|
|
Metrics/MethodLength:
|
|
Max: 20
|
|
Exclude:
|
|
- 'db/migrate/**'
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 10
|
|
|
|
Metrics/PerceivedComplexity:
|
|
Max: 10
|
|
|
|
Metrics/AbcSize:
|
|
Max: 35
|
|
|
|
RSpec/NestedGroups:
|
|
Max: 6
|
|
|
|
RSpec/MultipleExpectations:
|
|
Max: 7
|
|
|
|
RSpec/ExampleLength:
|
|
Max: 15
|
|
|
|
Rails/I18nLocaleTexts:
|
|
Enabled: false
|
|
|
|
Rails/ApplicationController:
|
|
Enabled: false
|