forked from solidusio-contrib/solidus_globalize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
91 lines (80 loc) · 3.05 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-11-14 12:59:11 +0100 using RuboCop version 0.76.0.
# 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.
# Offense count: 1
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/features/admin/translations_spec.rb'
# Offense count: 1
Lint/BooleanSymbol:
Exclude:
- 'db/migrate/20191108162345_add_locale_to_friendly_id_slugs.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 196
# Offense count: 18
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/controllers/spree/products_controller_spec.rb'
- 'spec/features/admin/products_spec.rb'
- 'spec/features/admin/translations_spec.rb'
- 'spec/features/translations_spec.rb'
- 'spec/models/product_spec.rb'
- 'spec/support/shared_contexts/translatable_context.rb'
# Offense count: 3
RSpec/DescribeClass:
Exclude:
- 'spec/features/admin/products_spec.rb'
- 'spec/features/admin/translations_spec.rb'
- 'spec/features/translations_spec.rb'
# Offense count: 9
RSpec/LetSetup:
Exclude:
- 'spec/features/admin/products_spec.rb'
- 'spec/features/admin/translations_spec.rb'
- 'spec/features/translations_spec.rb'
- 'spec/models/taxon_spec.rb'
# Offense count: 9
# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
Max: 3
# Offense count: 2
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
Exclude:
- 'spec/models/product_property_spec.rb'
- 'spec/support/shared_contexts/translatable_context.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
Exclude:
- 'lib/generators/solidus_globalize/install/install_generator.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, never
Style/FrozenStringLiteralComment:
Exclude:
- 'spec/support/shared_contexts/translatable_context.rb'
# Offense count: 8
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'db/migrate/20130419041407_add_translations_to_main_models.rb'
- 'db/migrate/20130518224827_add_translations_to_product_permalink.rb'
- 'db/migrate/20131009091000_add_translations_to_option_value.rb'
- 'db/migrate/20140206202524_rename_activator_translations_to_promotion_translations.rb'
- 'db/migrate/20140219130603_update_spree_product_translations.rb'
- 'db/migrate/20141112121313_add_translations_to_product_properties.rb'
- 'db/migrate/20150224152415_add_deleted_at_to_translation_tables.rb'
- 'db/migrate/20150323210949_add_translations_to_store.rb'