forked from glebm/i18n-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
105 lines (87 loc) · 3.14 KB
/
.rubocop_todo.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
95
96
97
98
99
100
101
102
103
104
105
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.50.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Configuration parameters: EnforcedStyle, AllowedGems, Include.
# SupportedStyles: Gemfile, gems.rb, gemspec
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
Gemspec/DevelopmentDependencies:
Exclude:
- 'i18n-tasks.gemspec'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'lib/i18n/tasks/scanners/ast_matchers/message_receivers_matcher.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/NonAtomicFileOperation:
Exclude:
- 'lib/i18n/tasks/data/file_system_base.rb'
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/commands/tree_commands_spec.rb'
- 'spec/deepl_translate_spec.rb'
- 'spec/google_translate_spec.rb'
- 'spec/locale_tree/siblings_spec.rb'
- 'spec/relative_keys_spec.rb'
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
Enabled: false
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 146
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
# DisallowedExamples: works
RSpec/ExampleWording:
Exclude:
- 'spec/deepl_translate_spec.rb'
- 'spec/google_translate_spec.rb'
- 'spec/relative_keys_spec.rb'
# This cop supports safe autocorrection (--autocorrect).
RSpec/ExpectActual:
Exclude:
- 'spec/routing/**/*'
- 'spec/key_pattern_matching_spec.rb'
RSpec/IdenticalEqualityAssertion:
Exclude:
- 'spec/scanners/files/caching_file_finder_provider_spec.rb'
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: receive
RSpec/MultipleExpectations:
Max: 9
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 7
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 4
RSpec/StubbedMock:
Exclude:
- 'spec/scanners/pattern_mapper_spec.rb'
# This cop supports safe autocorrection (--autocorrect).
Rake/Desc:
Exclude:
- 'Rakefile'
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/HashTransformValues:
Exclude:
- 'lib/i18n/tasks/data/tree/traversal.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowComments.
Style/RedundantInitialize:
Exclude:
- 'lib/i18n/tasks/cli.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only
Style/YodaCondition:
Exclude:
- 'lib/i18n/tasks/split_key.rb'