Skip to content

feature: Implement multiple option for select field #3682

feature: Implement multiple option for select field

feature: Implement multiple option for select field #3682

Re-run triggered January 14, 2025 16:02
Status Failure
Total duration 51s
Artifacts

lint.yml

on: pull_request
lint  /  ...  /  standardrb
37s
lint / runner / standardrb
lint  /  ...  /  erb-lint
12s
lint / runner / erb-lint
lint  /  check-eslint-config
4s
lint / check-eslint-config
lint  /  ...  /  eslint
0s
lint / runner / eslint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint / runner / standardrb: spec/dummy/app/avo/resources/product.rb#L51
[rubocop] reported by reviewdog 🐶 [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use Large: instead. Raw Output: spec/dummy/app/avo/resources/product.rb:51:58: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use Large: instead. field :sizes, as: :select, multiple: true, options: {"Large": :large, "Medium": :medium, "Small": :small} ^^^^^^^
lint / runner / standardrb: spec/dummy/app/avo/resources/product.rb#L51
[rubocop] reported by reviewdog 🐶 [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use Medium: instead. Raw Output: spec/dummy/app/avo/resources/product.rb:51:75: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use Medium: instead. field :sizes, as: :select, multiple: true, options: {"Large": :large, "Medium": :medium, "Small": :small} ^^^^^^^^
lint / runner / standardrb: spec/dummy/app/avo/resources/product.rb#L51
[rubocop] reported by reviewdog 🐶 [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use Small: instead. Raw Output: spec/dummy/app/avo/resources/product.rb:51:94: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use Small: instead. field :sizes, as: :select, multiple: true, options: {"Large": :large, "Medium": :medium, "Small": :small} ^^^^^^^
lint / runner / standardrb: spec/features/avo/select_field_spec.rb#L236
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/features/avo/select_field_spec.rb:236:80: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. expect(page).to have_select "product_sizes", multiple: true, options: ['Large', 'Medium', 'Small'] ^^^^^^^
lint / runner / standardrb: spec/features/avo/select_field_spec.rb#L236
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/features/avo/select_field_spec.rb:236:89: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. expect(page).to have_select "product_sizes", multiple: true, options: ['Large', 'Medium', 'Small'] ^^^^^^^^
lint / runner / standardrb: spec/features/avo/select_field_spec.rb#L236
[rubocop] reported by reviewdog 🐶 [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: spec/features/avo/select_field_spec.rb:236:99: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. expect(page).to have_select "product_sizes", multiple: true, options: ['Large', 'Medium', 'Small'] ^^^^^^^
lint / runner / standardrb: spec/features/avo/select_field_spec.rb#L244
[rubocop] reported by reviewdog 🐶 [Corrected] Lint/ParenthesesAsGroupedExpression: (:product) interpreted as grouped expression. Raw Output: spec/features/avo/select_field_spec.rb:244:10: W: [Corrected] Lint/ParenthesesAsGroupedExpression: (:product) interpreted as grouped expression. let (:product) {create :product, sizes: [:large]} ^
lint / runner / standardrb: spec/features/avo/select_field_spec.rb#L244
[rubocop] reported by reviewdog 🐶 [Corrected] Layout/SpaceInsideBlockBraces: Space missing inside {. Raw Output: spec/features/avo/select_field_spec.rb:244:23: C: [Corrected] Layout/SpaceInsideBlockBraces: Space missing inside {. let (:product) {create :product, sizes: [:large]} ^
lint / runner / standardrb: spec/features/avo/select_field_spec.rb#L244
[rubocop] reported by reviewdog 🐶 [Corrected] Layout/SpaceInsideBlockBraces: Space missing inside }. Raw Output: spec/features/avo/select_field_spec.rb:244:55: C: [Corrected] Layout/SpaceInsideBlockBraces: Space missing inside }. let (:product) {create :product, sizes: [:large]} ^
lint / runner / standardrb
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
lint / check-eslint-config
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / runner / erb-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / runner / standardrb
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636