-
Notifications
You must be signed in to change notification settings - Fork 342
/
.reek.yml
61 lines (61 loc) · 1.64 KB
/
.reek.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
detectors:
DataClump:
exclude:
- Admin::FormHelper
FeatureEnvy:
exclude:
- NestedCategories#cats_and_subcats
- NestedCategories#label_tag_for
InstanceVariableAssumption:
exclude:
- Admin::ContactsController
- Admin::LocationsController
- Admin::OrganizationsController
- Admin::OrganizationContactsController
- Admin::ProgramsController
- Admin::ServiceContactsController
- Admin::ServicesController
IrresponsibleModule:
enabled: false
NestedIterators:
exclude:
- Admin::OrganizationsController#index
NilCheck:
exclude:
- ConfigValidator#required_keys_with_empty_values
- AssetHosts#call
- Location#downcase_admin_emails
- Location#remove_duplicates
TooManyMethods:
exclude:
- Admin::CsvController
- Admin::ServicesController
TooManyStatements:
max_statements: 6
exclude:
- Admin::ContactsController
- Admin::OrganizationsController
- Admin::OrganizationContactsController
- Admin::ServiceContactsController
- Admin::ServicesController
UtilityFunction:
exclude:
- Admin::ServicesController#program_ids_for
- Admin::CsvController#zip_file_name
- ConfigValidator#empty_keys_warning
- DateValidator#date_from_hash
- DateValidator#valid_date_format?
- NestedCategories#class_name_for
- PgArrayValidator#does_not_need_validation?
directories:
'spec':
DataClump:
enabled: false
LongParameterList:
enabled: false
TooManyStatements:
enabled: false
UtilityFunction:
enabled: false
exclude_paths:
- db/migrate