-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.rubocop.yml
More file actions
112 lines (112 loc) · 2.29 KB
/
.rubocop.yml
File metadata and controls
112 lines (112 loc) · 2.29 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 Zerocracy
# SPDX-License-Identifier: MIT
---
AllCops:
Exclude:
- 'bin/**/*'
- 'assets/**/*'
- 'vendor/**/**'
DisplayCopNames: true
TargetRubyVersion: 3.2
SuggestExtensions: false
NewCops: enable
plugins:
- rubocop-minitest
- rubocop-performance
- rubocop-rake
- rubocop-elegant
Style/GlobalVars:
Enabled: false
Style/TopLevelMethodDefinition:
Enabled: false
Elegant/GoodMethodName:
AllowedNames:
- accept_repository_invitation
- add_comment
- auto_paginate
- auto_paginate=
- bill_to
- check_runs_for_ref
- commit_pulls
- commits_since
- create_commit_comment
- create_connection
- delete_one
- dump_headers
- extract_remaining_count
- faraday_value
- github_graph
- handle_rate_limit_request
- if_absent
- issue_comment_reactions
- issue_comments
- issue_events
- issue_timeline
- issue_type_event
- just_one
- kill_if
- lifetime_unaware
- list_issues
- log_it
- mask_to_regex
- name_to_number
- off_quota?
- organization_memberships
- organization_repositories
- print_trace!
- publish_to
- pull_request
- pull_request_comments
- pull_request_review_comment_reactions
- pull_request_review_comments
- pull_request_reviews
- pull_requests
- pull_requests_with_reviews
- quota_unaware
- random_time
- rate_limit
- remove_organization_membership
- repo_id_by_name
- repo_name_by_id
- repository_events
- repository_workflow_runs
- resolved_conversations
- response_env
- review_comments
- search_commits
- search_issues
- sort_by
- timeout_unaware
- total_commits
- total_commits_pushed
- total_issues_and_pulls
- total_issues_created
- total_releases_published
- track_request
- unmask_repos
- update_organization_membership
- update_remaining_count
- user_name_by_id
- user_repository_invitations
- with_disable_auto_paginate
- workflow_run
- workflow_run_job
- workflow_run_usage
Naming/MethodParameterName:
AllowedNames:
- as
- at
- by
- cc
- db
- fb
- id
- if
- in
- io
- ip
- of
- 'on'
- os
- pp
- to