feature: translate trix field controller js warnings #3226
lint.yml
on: pull_request
lint
/
...
/
standardrb
31s
lint
/
...
/
erb-lint
9s
lint
/
check-eslint-config
5s
lint
/
...
/
eslint
0s
Annotations
3 errors and 2 warnings
lint / runner / standardrb:
spec/system/avo/trix_field_spec.rb#L42
[rubocop] reported by reviewdog 🐶
[Corrected] Style/QuotedSymbols: Prefer double-quoted symbols unless you need single quotes to avoid extra backslashes for escaping.
Raw Output:
spec/system/avo/trix_field_spec.rb:42:81: C: [Corrected] Style/QuotedSymbols: Prefer double-quoted symbols unless you need single quotes to avoid extra backslashes for escaping.
upload_warning_message = find("[data-trix-field-upload-warning-value]")[:'data-trix-field-upload-warning-value']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
spec/system/avo/trix_field_spec.rb#L45
[rubocop] reported by reviewdog 🐶
[Corrected] Style/QuotedSymbols: Prefer double-quoted symbols unless you need single quotes to avoid extra backslashes for escaping.
Raw Output:
spec/system/avo/trix_field_spec.rb:45:97: C: [Corrected] Style/QuotedSymbols: Prefer double-quoted symbols unless you need single quotes to avoid extra backslashes for escaping.
attachment_disable_message = find("[data-trix-field-attachment-disable-warning-value]")[:'data-trix-field-attachment-disable-warning-value']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
spec/system/avo/trix_field_spec.rb#L48
[rubocop] reported by reviewdog 🐶
[Corrected] Style/QuotedSymbols: Prefer double-quoted symbols unless you need single quotes to avoid extra backslashes for escaping.
Raw Output:
spec/system/avo/trix_field_spec.rb:48:97: C: [Corrected] Style/QuotedSymbols: Prefer double-quoted symbols unless you need single quotes to avoid extra backslashes for escaping.
attachment_key_warning_message = find("[data-trix-field-attachment-key-warning-value]")[:'data-trix-field-attachment-key-warning-value']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / check-eslint-config
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint / check-eslint-config
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|