-
Notifications
You must be signed in to change notification settings - Fork 20
/
.rubocop.yml
58 lines (57 loc) · 1.15 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
inherit_gem:
rubocop-govuk:
- config/default.yml
- config/rails.yml
AllCops:
TargetRubyVersion: 3.1
Exclude:
- govuk_design_system_formbuilder.gemspec
- spec/dummy/**/*
- guide/node_modules/**/*
Security/Eval:
Exclude:
- guide/lib/helpers/formatters.rb
Lint/MissingSuper:
Enabled: false
Rails/Date:
Enabled: false
Rails/ActiveSupportAliases:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/TrailingCommaInArguments:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
Style/Lambda:
Enabled: false
Style/StringConcatenation:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Style/TernaryParentheses:
Enabled: false
Style/RedundantParentheses:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Layout/HashAlignment:
Enabled: false
Style/SignalException:
Enabled: false
Style/Proc:
Enabled: false
Style/AsciiComments:
Enabled: false
Style/FormatString:
EnforcedStyle: format
Gemspec/RequiredRubyVersion:
Enabled: false
Style/MixinUsage:
Exclude:
- spec/spec_helper.rb
Style/ParallelAssignment:
Enabled: false