workarea-a11y 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintrc +35 -0
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  5. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  6. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  7. data/.gitignore +8 -0
  8. data/.rubocop.yml +322 -0
  9. data/.scss-lint.yml +192 -0
  10. data/CHANGELOG.md +4 -0
  11. data/CODE_OF_CONDUCT.md +3 -0
  12. data/CONTRIBUTING.md +3 -0
  13. data/Gemfile +17 -0
  14. data/LICENSE +52 -0
  15. data/MIT-LICENSE +20 -0
  16. data/README.md +83 -0
  17. data/Rakefile +42 -0
  18. data/app/assets/config/workarea_a11y_manifest.js +0 -0
  19. data/app/assets/images/workarea/a11y/.keep +0 -0
  20. data/app/assets/javascripts/workarea/storefront/a11y/.keep +0 -0
  21. data/app/assets/javascripts/workarea/storefront/a11y/axe_audit.js +60 -0
  22. data/app/assets/stylesheets/workarea/a11y/.keep +0 -0
  23. data/app/controllers/.keep +0 -0
  24. data/app/helpers/.keep +0 -0
  25. data/app/mailers/.keep +0 -0
  26. data/app/models/.keep +0 -0
  27. data/app/views/.keep +0 -0
  28. data/bin/rails +13 -0
  29. data/config/initializers/appends.rb +4 -0
  30. data/config/routes.rb +2 -0
  31. data/lib/tasks/workarea/a11y_tasks.rake +4 -0
  32. data/lib/workarea/a11y.rb +8 -0
  33. data/lib/workarea/a11y/engine.rb +6 -0
  34. data/lib/workarea/a11y/version.rb +5 -0
  35. data/test/dummy/Rakefile +6 -0
  36. data/test/dummy/app/assets/config/manifest.js +4 -0
  37. data/test/dummy/app/assets/images/.keep +0 -0
  38. data/test/dummy/app/assets/javascripts/application.js +13 -0
  39. data/test/dummy/app/assets/javascripts/cable.js +13 -0
  40. data/test/dummy/app/assets/javascripts/channels/.keep +0 -0
  41. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  42. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  43. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  44. data/test/dummy/app/controllers/application_controller.rb +3 -0
  45. data/test/dummy/app/controllers/concerns/.keep +0 -0
  46. data/test/dummy/app/helpers/application_helper.rb +2 -0
  47. data/test/dummy/app/jobs/application_job.rb +2 -0
  48. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  49. data/test/dummy/app/models/concerns/.keep +0 -0
  50. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  51. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  52. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  53. data/test/dummy/bin/bundle +3 -0
  54. data/test/dummy/bin/rails +4 -0
  55. data/test/dummy/bin/rake +4 -0
  56. data/test/dummy/bin/setup +34 -0
  57. data/test/dummy/bin/update +29 -0
  58. data/test/dummy/config.ru +5 -0
  59. data/test/dummy/config/application.rb +27 -0
  60. data/test/dummy/config/boot.rb +5 -0
  61. data/test/dummy/config/cable.yml +9 -0
  62. data/test/dummy/config/environment.rb +5 -0
  63. data/test/dummy/config/environments/development.rb +51 -0
  64. data/test/dummy/config/environments/production.rb +83 -0
  65. data/test/dummy/config/environments/test.rb +42 -0
  66. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  67. data/test/dummy/config/initializers/assets.rb +11 -0
  68. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  69. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  70. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  71. data/test/dummy/config/initializers/inflections.rb +16 -0
  72. data/test/dummy/config/initializers/mime_types.rb +4 -0
  73. data/test/dummy/config/initializers/new_framework_defaults.rb +18 -0
  74. data/test/dummy/config/initializers/session_store.rb +3 -0
  75. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  76. data/test/dummy/config/locales/en.yml +23 -0
  77. data/test/dummy/config/puma.rb +47 -0
  78. data/test/dummy/config/routes.rb +3 -0
  79. data/test/dummy/config/secrets.yml +22 -0
  80. data/test/dummy/config/spring.rb +6 -0
  81. data/test/dummy/lib/assets/.keep +0 -0
  82. data/test/dummy/log/.keep +0 -0
  83. data/test/dummy/public/404.html +67 -0
  84. data/test/dummy/public/422.html +67 -0
  85. data/test/dummy/public/500.html +66 -0
  86. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  87. data/test/dummy/public/apple-touch-icon.png +0 -0
  88. data/test/dummy/public/favicon.ico +0 -0
  89. data/test/integration/navigation_test.rb +8 -0
  90. data/test/test_helper.rb +18 -0
  91. data/test/workarea/a11y_test.rb +7 -0
  92. data/workarea-a11y.gemspec +23 -0
  93. metadata +164 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e3a935cb9b58a40468c1a5ac49ee5c5db91bb04705f0872bc7f9f173f87755eb
4
+ data.tar.gz: 482eae5c6f108c1cf2ae7dff23aaa946f2c9805f2d2089a42e17890a8d0ff8cd
5
+ SHA512:
6
+ metadata.gz: fd1df0c097b7351445ea4a294f4c9514f1585a1c2b88a3854b6fcbbbf94aa888b31c0db8425647288e78f1af88c0232b71f87ef2ab37d3c9bb6b5ff5f460c086
7
+ data.tar.gz: 8b9aa078439263b18eabe3e23276162fa501bae087b18532947e080b4283726d989e5c515d04b75fad285a3e9a472964440470a5bed8362245afde5d767adcaf
@@ -0,0 +1,20 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ end_of_line = lf
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [{*.rb,*.haml,*.decorator,*.yml,*.yaml,*.jbuilder}]
12
+ indent_size = 2
13
+ indent_style = space
14
+
15
+ [{*.js,*.jst,*.ejs,*.scss}]
16
+ indent_size = 4
17
+
18
+ [*.md]
19
+ indent_size = 4
20
+ trim_trailing_whitespace = false
@@ -0,0 +1,35 @@
1
+ {
2
+ "extends": "eslint:recommended",
3
+ "rules": {
4
+ "semi": ["error", "always"],
5
+ "eqeqeq": ["error", "always"]
6
+ },
7
+ "globals": {
8
+ "window": true,
9
+ "document": true,
10
+ "WORKAREA": true,
11
+ "$": true,
12
+ "jQuery": true,
13
+ "_": true,
14
+ "feature": true,
15
+ "JST": true,
16
+ "Turbolinks": true,
17
+ "I18n": true,
18
+ "Chart": true,
19
+ "Dropzone": true,
20
+ "strftime": true,
21
+ "Waypoint": true,
22
+ "wysihtml": true,
23
+ "LocalTime": true,
24
+ "describe": true,
25
+ "after": true,
26
+ "afterEach": true,
27
+ "before": true,
28
+ "beforeEach": true,
29
+ "it": true,
30
+ "expect": true,
31
+ "sinon": true,
32
+ "fixture": true,
33
+ "chai": true
34
+ }
35
+ }
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve Workarea
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ⚠️**Before you create**⚠️
11
+ Please verify the issue you're experiencing is not part of your Workarea project customizations. The best way to do this is with a [vanilla Workarea installation](https://developer.workarea.com/articles/create-a-new-host-application.html). This will help us spend time on fixes/improvements for the whole community. Thank you!
12
+
13
+ **Describe the bug**
14
+ A clear and concise description of what the bug is.
15
+
16
+ **To Reproduce**
17
+ Steps to reproduce the behavior:
18
+ 1. Go to '...'
19
+ 2. Click on '....'
20
+ 3. Scroll down to '....'
21
+ 4. See error
22
+
23
+ **Expected behavior**
24
+ A clear and concise description of what you expected to happen.
25
+
26
+ **Workarea Setup (please complete the following information):**
27
+ - Workarea Version: [e.g. v3.4.6]
28
+ - Plugins [e.g. workarea-blog, workarea-sitemaps]
29
+
30
+ **Attachments**
31
+ If applicable, add any attachments to help explain your problem, things like:
32
+ - screenshots
33
+ - Gemfile.lock
34
+ - test cases
35
+
36
+ **Additional context**
37
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Documentation request
3
+ about: Suggest documentation
4
+ title: ''
5
+ labels: documentation
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your documentation related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm confused by [...]
12
+
13
+ **Describe the article you'd like**
14
+ A clear and concise description of what would be in the documentation article.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for Workarea
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,8 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ test/dummy/db/*.sqlite3
5
+ test/dummy/db/*.sqlite3-journal
6
+ test/dummy/log/*.log
7
+ test/dummy/tmp/
8
+ Gemfile.lock
@@ -0,0 +1,322 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.4
3
+ # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
4
+ # to ignore them, so only the ones explicitly set in this file are enabled.
5
+ DisabledByDefault: true
6
+
7
+ # Prefer &&/|| over and/or.
8
+ Style/AndOr:
9
+ Enabled: true
10
+
11
+ # Do not use braces for hash literals when they are the last argument of a
12
+ # method call.
13
+ Style/BracesAroundHashParameters:
14
+ Enabled: true
15
+ EnforcedStyle: context_dependent
16
+
17
+ # Align `when` with `case`.
18
+ Layout/CaseIndentation:
19
+ Enabled: true
20
+
21
+ # Align comments with method definitions.
22
+ Layout/CommentIndentation:
23
+ Enabled: true
24
+
25
+ Layout/EmptyLineAfterMagicComment:
26
+ Enabled: true
27
+
28
+ # In a regular class definition, no empty lines around the body.
29
+ Layout/EmptyLinesAroundClassBody:
30
+ Enabled: true
31
+
32
+ # In a regular method definition, no empty lines around the body.
33
+ Layout/EmptyLinesAroundMethodBody:
34
+ Enabled: true
35
+
36
+ # In a regular module definition, no empty lines around the body.
37
+ Layout/EmptyLinesAroundModuleBody:
38
+ Enabled: true
39
+
40
+ Layout/FirstParameterIndentation:
41
+ Enabled: true
42
+
43
+ # Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
44
+ Style/HashSyntax:
45
+ Enabled: true
46
+
47
+ # Two spaces, no tabs (for indentation).
48
+ Layout/IndentationWidth:
49
+ Enabled: true
50
+
51
+ Layout/SpaceAfterColon:
52
+ Enabled: true
53
+
54
+ Layout/SpaceAfterComma:
55
+ Enabled: true
56
+
57
+ Layout/SpaceAroundEqualsInParameterDefault:
58
+ Enabled: true
59
+
60
+ Layout/SpaceAroundKeyword:
61
+ Enabled: true
62
+
63
+ Layout/SpaceAroundOperators:
64
+ Enabled: true
65
+
66
+ Layout/SpaceBeforeFirstArg:
67
+ Enabled: true
68
+
69
+ # Defining a method with parameters needs parentheses.
70
+ Style/MethodDefParentheses:
71
+ Enabled: true
72
+
73
+ # Use `foo {}` not `foo{}`.
74
+ Layout/SpaceBeforeBlockBraces:
75
+ Enabled: true
76
+
77
+ # Use `foo { bar }` not `foo {bar}`.
78
+ Layout/SpaceInsideBlockBraces:
79
+ Enabled: true
80
+
81
+ # Use `{ a: 1 }` not `{a:1}`.
82
+ Layout/SpaceInsideHashLiteralBraces:
83
+ Enabled: true
84
+
85
+ Layout/SpaceInsideParens:
86
+ Enabled: true
87
+
88
+ # Check quotes usage according to lint rule below.
89
+ Style/StringLiterals:
90
+ Enabled: true
91
+
92
+ # Detect hard tabs, no hard tabs.
93
+ Layout/Tab:
94
+ Enabled: true
95
+
96
+ # Blank lines should not have any spaces.
97
+ Layout/TrailingBlankLines:
98
+ Enabled: true
99
+
100
+ # No trailing whitespace.
101
+ Layout/TrailingWhitespace:
102
+ Enabled: true
103
+
104
+ # Use quotes for string literals when they are enough.
105
+ Style/UnneededPercentQ:
106
+ Enabled: true
107
+
108
+ # Align `end` with the matching keyword or starting expression except for
109
+ # assignments, where it should be aligned with the LHS.
110
+ Lint/EndAlignment:
111
+ Enabled: true
112
+ EnforcedStyleAlignWith: variable
113
+
114
+
115
+
116
+ # This configuration was generated by
117
+ # `rubocop --auto-gen-config`
118
+ # on 2018-01-09 11:18:02 -0500 using RuboCop version 0.52.1.
119
+ # The point is for the user to remove these configuration records
120
+ # one by one as the offenses are removed from the code base.
121
+ # Note that changes in the inspected code, or installation of new
122
+ # versions of RuboCop, may require this file to be generated again.
123
+ #
124
+
125
+ # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
126
+ Lint/RequireParentheses:
127
+ Enabled: true
128
+
129
+ # Offense count: 5
130
+ # Cop supports --auto-correct.
131
+ # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
132
+ # SupportedStyles: case, end
133
+ Layout/CaseIndentation:
134
+ Exclude:
135
+ - 'admin/app/helpers/workarea/admin/dashboard_helper.rb'
136
+
137
+ # Offense count: 30
138
+ # Cop supports --auto-correct.
139
+ # Configuration parameters: EnforcedStyle.
140
+ # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
141
+ Layout/EmptyLinesAroundClassBody:
142
+ Enabled: false
143
+
144
+ # Offense count: 5
145
+ # Cop supports --auto-correct.
146
+ # Configuration parameters: EnforcedStyle.
147
+ # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
148
+ Layout/EmptyLinesAroundModuleBody:
149
+ Exclude:
150
+ - 'admin/spec/view_models/workarea/admin/product_view_model_spec.rb'
151
+ - 'core/lib/workarea/ext/mongoid/timestamps_timeless.rb'
152
+ - 'storefront/app/view_models/workarea/storefront/search_customization_content.rb'
153
+ - 'testing/lib/workarea/testing/warning_suppressor.rb'
154
+
155
+ # Offense count: 19
156
+ # Cop supports --auto-correct.
157
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
158
+ # SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
159
+ Layout/FirstParameterIndentation:
160
+ Exclude:
161
+ - 'admin/test/helpers/workarea/admin/releases_helper_test.rb'
162
+ - 'admin/test/integration/workarea/admin/pricing_sku_prices_integration_test.rb'
163
+ - 'admin/test/integration/workarea/admin/products_integration_test.rb'
164
+ - 'admin/test/system/workarea/admin/users_system_test.rb'
165
+ - 'core/app/models/workarea/catalog/product_placeholder_image.rb'
166
+ - 'core/app/models/workarea/checkout/auto_complete.rb'
167
+ - 'core/app/models/workarea/content/asset.rb'
168
+ - 'core/app/models/workarea/order.rb'
169
+ - 'core/spec/models/workarea/tax_spec.rb'
170
+ - 'core/test/models/workarea/fulfillment_test.rb'
171
+ - 'storefront/test/system/workarea/storefront/categories_system_test.rb'
172
+ - 'storefront/test/system/workarea/storefront/products_system_test.rb'
173
+
174
+ # Offense count: 70
175
+ # Cop supports --auto-correct.
176
+ # Configuration parameters: Width, IgnoredPatterns.
177
+ Layout/IndentationWidth:
178
+ Enabled: false
179
+
180
+ # Offense count: 3
181
+ # Cop supports --auto-correct.
182
+ Layout/SpaceAfterColon:
183
+ Exclude:
184
+ - 'testing/lib/workarea/testing/factories/content.rb'
185
+ - 'testing/lib/workarea/testing/factories/pricing.rb'
186
+
187
+ # Offense count: 24
188
+ # Cop supports --auto-correct.
189
+ Layout/SpaceAfterComma:
190
+ Exclude:
191
+ - 'admin/app/controllers/workarea/admin/shipping_services_controller.rb'
192
+ - 'admin/spec/view_models/workarea/admin/product_view_model_spec.rb'
193
+ - 'admin/test/helpers/workarea/admin/application_helper_test.rb'
194
+ - 'core/app/models/workarea/payment/credit_card.rb'
195
+ - 'core/app/models/workarea/pricing/request.rb'
196
+ - 'core/spec/lib/workarea/swappable_list_spec.rb'
197
+ - 'core/test/models/workarea/inventory_test.rb'
198
+ - 'core/test/queries/workarea/search/range_facet_test.rb'
199
+ - 'docs/guides/source/app_template.rb'
200
+ - 'storefront/test/view_models/workarea/storefront/package_view_model_test.rb'
201
+
202
+ # Offense count: 6
203
+ # Cop supports --auto-correct.
204
+ # Configuration parameters: EnforcedStyle.
205
+ # SupportedStyles: space, no_space
206
+ Layout/SpaceAroundEqualsInParameterDefault:
207
+ Exclude:
208
+ - 'admin/app/helpers/workarea/admin/content_block_icon_helper.rb'
209
+ - 'core/app/helpers/workarea/content_assets_helper.rb'
210
+ - 'core/lib/workarea/elasticsearch/query_cache.rb'
211
+ - 'testing/lib/workarea/system_test.rb'
212
+ - 'testing/lib/workarea/testing/locale_routing_fixes.rb'
213
+
214
+ # Offense count: 3
215
+ # Cop supports --auto-correct.
216
+ # Configuration parameters: AllowForAlignment.
217
+ Layout/SpaceAroundOperators:
218
+ Exclude:
219
+ - 'admin/app/controllers/workarea/admin/content_emails_controller.rb'
220
+ - 'admin/app/controllers/workarea/admin/users_controller.rb'
221
+ - 'core/app/helpers/workarea/content_assets_helper.rb'
222
+
223
+ # Offense count: 1
224
+ # Cop supports --auto-correct.
225
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
226
+ # SupportedStyles: space, no_space
227
+ # SupportedStylesForEmptyBraces: space, no_space
228
+ Layout/SpaceBeforeBlockBraces:
229
+ Exclude:
230
+ - 'admin/app/view_models/workarea/admin/release_calendar_view_model.rb'
231
+
232
+ # Offense count: 4
233
+ # Cop supports --auto-correct.
234
+ # Configuration parameters: AllowForAlignment.
235
+ Layout/SpaceBeforeFirstArg:
236
+ Exclude:
237
+ - 'core/spec/lib/workarea/swappable_list_spec.rb'
238
+ - 'core/spec/models/workarea/pricing/calculators/discount_calculator_spec.rb'
239
+
240
+ # Offense count: 1
241
+ # Cop supports --auto-correct.
242
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
243
+ # SupportedStyles: space, no_space
244
+ # SupportedStylesForEmptyBraces: space, no_space
245
+ Layout/SpaceInsideBlockBraces:
246
+ Exclude:
247
+ - 'script/convert_to_minitest'
248
+
249
+ # Offense count: 28
250
+ # Cop supports --auto-correct.
251
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
252
+ # SupportedStyles: space, no_space, compact
253
+ # SupportedStylesForEmptyBraces: space, no_space
254
+ Layout/SpaceInsideHashLiteralBraces:
255
+ Exclude:
256
+ - 'admin/test/integration/workarea/admin/pricing_sku_prices_integration_test.rb'
257
+ - 'admin/test/integration/workarea/admin/shipping_service_integration_test.rb'
258
+ - 'admin/test/integration/workarea/admin/tax_categories_integration_test.rb'
259
+ - 'admin/test/view_models/workarea/admin/changeset_view_model_test.rb'
260
+ - 'core/app/models/workarea/release/changeset.rb'
261
+ - 'core/app/queries/workarea/search/product_rules.rb'
262
+ - 'core/app/queries/workarea/search/term_filter.rb'
263
+ - 'core/lib/workarea/configuration.rb'
264
+ - 'core/spec/models/workarea/order_spec.rb'
265
+ - 'core/test/models/workarea/application_document_test.rb'
266
+ - 'core/test/models/workarea/fulfillment_test.rb'
267
+ - 'core/test/queries/workarea/search/product_rules_test.rb'
268
+ - 'core/test/workers/workarea/generate_content_metadata_test.rb'
269
+
270
+ # Offense count: 4
271
+ # Cop supports --auto-correct.
272
+ Layout/SpaceInsideParens:
273
+ Exclude:
274
+ - 'core/app/models/workarea/inventory/collection.rb'
275
+ - 'core/app/models/workarea/pricing/calculators/item_calculator.rb'
276
+ - 'core/spec/models/workarea/order/queries_spec.rb'
277
+
278
+ # Offense count: 59
279
+ # Cop supports --auto-correct.
280
+ # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect.
281
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
282
+ Lint/EndAlignment:
283
+ Enabled: false
284
+
285
+ # Offense count: 16
286
+ # Cop supports --auto-correct.
287
+ # Configuration parameters: EnforcedStyle.
288
+ # SupportedStyles: always, conditionals
289
+ Style/AndOr:
290
+ Exclude:
291
+ - 'admin/app/controllers/workarea/admin/help_authorization.rb'
292
+ - 'admin/app/controllers/workarea/admin/users_controller.rb'
293
+ - 'core/app/controllers/workarea/authorization.rb'
294
+ - 'core/app/models/workarea/analytics/time_series.rb'
295
+ - 'core/app/models/workarea/payment/operation.rb'
296
+ - 'core/lib/workarea/validators/ip_address_validator.rb'
297
+ - 'script/rename'
298
+ - 'storefront/app/controllers/workarea/storefront/checkout/place_order_controller.rb'
299
+ - 'storefront/app/controllers/workarea/storefront/current_checkout.rb'
300
+ - 'storefront/app/controllers/workarea/storefront/searches_controller.rb'
301
+ - 'storefront/app/controllers/workarea/storefront/users/orders_controller.rb'
302
+ - 'storefront/app/controllers/workarea/storefront/users/passwords_controller.rb'
303
+
304
+ # Offense count: 89
305
+ # Cop supports --auto-correct.
306
+ # Configuration parameters: EnforcedStyle.
307
+ # SupportedStyles: braces, no_braces, context_dependent
308
+ Style/BracesAroundHashParameters:
309
+ Enabled: false
310
+
311
+ # Offense count: 216
312
+ # Cop supports --auto-correct.
313
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
314
+ # SupportedStyles: single_quotes, double_quotes
315
+ Style/StringLiterals:
316
+ Enabled: false
317
+
318
+ # Offense count: 1325
319
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
320
+ # URISchemes: http, https
321
+ Metrics/LineLength:
322
+ Max: 631