forked from LBHackney-IT/ways-into-work
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
82 lines (82 loc) · 1.68 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
AllCops:
TargetRubyVersion: 2.4.1
Documentation:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
Layout/IndentArray:
EnforcedStyle: consistent
Metrics/LineLength:
Exclude:
- config/**/*
- db/**/*
- script/rails
- features/step_definitions/referrer_steps.rb
Metrics/MethodLength:
Exclude:
- 'db/migrate/*'
- features/step_definitions/referrer_steps.rb
Metrics/BlockLength:
Exclude:
- spec/**/*
- db/**/*
- config/**/*
Layout/EmptyLinesAroundBlockBody:
Exclude:
- spec/**/*
Lint/AmbiguousRegexpLiteral:
Exclude:
- features/**/*
Style/RegexpLiteral:
Exclude:
- features/**/*
- 'app/models/file_upload.rb'
Lint/Debugger:
Exclude:
- 'features/step_definitions/debug_steps.rb'
Lint/AssignmentInCondition:
Exclude:
- 'app/models/client.rb'
- 'db/fixtures/seed_helper.rb'
Lint/ScriptPermission:
Exclude:
- 'Rakefile'
Style/ClassAndModuleChildren:
Enabled: false
Lint/HandleExceptions:
Exclude:
- Rakefile
Style/FrozenStringLiteralComment:
Enabled: false
Style/StringLiterals:
Exclude:
- 'db/schema.rb'
Style/NumericLiterals:
Exclude:
- 'db/schema.rb'
Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'db/schema.rb'
Style/WordArray:
Exclude:
- 'db/schema.rb'
Metrics/AbcSize:
Exclude:
- 'features/support/*'
- 'lib/seeders/*'
- 'spec/helpers/*'
- features/step_definitions/referrer_steps.rb
Rails/FilePath:
Exclude:
- 'lib/tasks/cucumber.rake'
Rails/Output:
Exclude:
- 'lib/seeders/client_seeder.rb'
Metrics/LineLength:
Max: 166
Rails/OutputSafety:
Exclude:
- 'config/environment.rb'
Rails/SkipsModelValidations:
Exclude:
- 'lib/seeders/client_seeder.rb'