Files
docuseal/.rubocop.yml
T

81 lines
1.1 KiB
YAML
Raw Normal View History

2023-05-21 17:59:36 +03:00
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
AllCops:
NewCops: enable
Exclude:
- db/schema.rb
- node_modules/**/*
- bin/*
2023-07-04 00:25:57 +03:00
- vendor/**/*
2023-05-21 17:59:36 +03:00
TargetRubyVersion: '3.2'
Metrics/BlockLength:
Exclude:
- Rakefile
- '**/*.rake'
- spec/**/*
- config/environments/**/*
- config/routes.rb
Style/Documentation:
Enabled: false
Lint/MissingSuper:
Enabled: false
2023-09-10 02:10:01 +03:00
Metrics/ParameterLists:
Max: 10
2023-05-21 17:59:36 +03:00
Metrics/MethodLength:
2024-02-10 19:38:03 +02:00
Max: 30
2023-05-21 17:59:36 +03:00
Exclude:
- 'db/migrate/**'
Metrics/CyclomaticComplexity:
2023-07-01 13:16:07 +03:00
Max: 15
2023-05-21 17:59:36 +03:00
Metrics/PerceivedComplexity:
2023-07-01 13:16:07 +03:00
Max: 15
Layout/LineLength:
AllowedPatterns: ['\A\s*#']
2023-05-21 17:59:36 +03:00
Metrics/AbcSize:
2024-03-30 19:37:48 +02:00
Max: 45
2023-05-21 17:59:36 +03:00
2023-06-13 00:29:07 +03:00
Metrics/ModuleLength:
Max: 500
Metrics/ClassLength:
Max: 500
2023-05-21 17:59:36 +03:00
RSpec/NestedGroups:
Max: 6
RSpec/MultipleExpectations:
2023-08-20 12:42:47 +03:00
Max: 20
2023-05-21 17:59:36 +03:00
RSpec/ExampleLength:
2023-08-20 12:42:47 +03:00
Max: 40
2023-08-21 20:09:56 +03:00
RSpec/MultipleMemoizedHelpers:
2023-08-20 12:42:47 +03:00
Max: 6
2023-05-21 17:59:36 +03:00
Rails/I18nLocaleTexts:
Enabled: false
2023-10-22 01:54:20 +03:00
Rails/FindEach:
Enabled: false
2023-07-26 09:58:50 +03:00
Rails/SkipsModelValidations:
Enabled: false
2023-05-21 17:59:36 +03:00
Rails/ApplicationController:
Enabled: false
2023-10-28 23:07:18 +03:00
Capybara/ClickLinkOrButtonStyle:
Enabled: false