-
Notifications
You must be signed in to change notification settings - Fork 21
/
.rubocop.yml
94 lines (78 loc) · 3.36 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
83
84
85
86
87
88
89
90
91
92
93
94
inherit_gem:
decidim-dev: rubocop-decidim.yml
inherit_mode:
merge:
- Exclude
AllCops:
Exclude:
- "decidim-initiatives/lib/gem_overrides/origami/date.rb"
Naming/FileName:
Exclude:
- "decidim-dev/lib/decidim-dev.rb"
Metrics/CyclomaticComplexity:
Exclude:
- "decidim-admin/app/queries/decidim/admin/newsletter_recipients.rb"
Metrics/ParameterLists:
Exclude:
- "decidim-core/lib/decidim/filter_form_builder.rb"
Metrics/PerceivedComplexity:
Exclude:
- "decidim-admin/app/queries/decidim/admin/newsletter_recipients.rb"
RSpec/DescribeClass:
Exclude:
- decidim-core/spec/lib/global_engines_spec.rb
RSpec/EmptyExampleGroup:
Exclude:
- decidim-core/spec/lib/participatory_space_manifest_spec.rb
RSpec/MultipleMemoizedHelpers:
Exclude:
- decidim-assemblies/spec/forms/assembly_form_spec.rb
Rails/Output:
Exclude:
- lib/decidim/git_backport_manager.rb
- lib/decidim/github_manager/poster.rb
- decidim-core/lib/decidim/core.rb
- decidim-core/lib/decidim/component_manifest.rb
- decidim-core/lib/decidim/participatory_space_manifest.rb
Rails/Exit:
Exclude:
- lib/decidim/git_backport_manager.rb
RSpec/NoExpectationExample:
Exclude:
- decidim-admin/spec/system/participatory_space_private_user_spec.rb
- decidim-comments/spec/services/decidim/comments/comment_creation_spec.rb
- decidim-conferences/spec/cells/decidim/conferences/conference_speaker_cell_spec.rb
- decidim-core/spec/cells/decidim/date_range_cell_spec.rb
- decidim-core/spec/commands/decidim/unsubscribe_settings_spec.rb
- decidim-core/spec/controllers/registrations_controller_spec.rb
- decidim-core/spec/lib/importers/import_manifest_spec.rb
- decidim-core/spec/lib/map/geocoding_spec.rb
- decidim-core/spec/lib/participatory_space_manifest_spec.rb
- decidim-core/spec/services/decidim/events_manager_spec.rb
- decidim-core/spec/services/decidim/settings_change_spec.rb
- decidim-core/spec/services/decidim/zip_stream/zip_stream_writer_spec.rb
- decidim-core/spec/tasks/decidim_tasks_right_to_be_forgotten_spec.rb
- decidim-elections/spec/lib/tasks/decidim_election_generate_identification_keys_spec.rb
- decidim-elections/spec/lib/tasks/decidim_election_scheduled_tasks_spec.rb
- decidim-elections/spec/shared/vote_examples.rb
- decidim-elections/spec/system/key_ceremony_spec.rb
- decidim-elections/spec/system/vote_online_inside_a_voting_spec.rb
- decidim-initiatives/spec/system/admin/update_initiative_spec.rb
- decidim-initiatives/spec/system/initiative_signing_spec.rb
- decidim-meetings/spec/commands/admin/export_meeting_registrations_spec.rb
- decidim-meetings/spec/system/explore_meeting_directory_spec.rb
- decidim-meetings/spec/system/explore_meetings_spec.rb
- decidim-proposals/spec/lib/decidim/proposals/markdown_to_proposals_spec.rb
- decidim-proposals/spec/shared/import_proposals_examples.rb
- decidim-proposals/spec/shared/proposals_wizards_examples.rb
- decidim-proposals/spec/system/admin/admin_manages_participatory_texts_spec.rb
- decidim-proposals/spec/system/participatory_texts_spec.rb
- decidim-participatory_processes/spec/system/participatory_processes_spec.rb
# fix these rules later
Capybara/SpecificFinders:
Enabled: false
RSpec/IndexedLet:
Enabled: false
Rails/HelperInstanceVariable:
Enabled: false
# EOF fix these rules later