Fix ESLint warnings

Created on 1 June 2024, 7 months ago
Updated 15 June 2024, 6 months ago

Problem/Motivation

  18:13  error  'doUpdateTokenElement' was used before it was defined                                                      no-use-before-define
  22:6   error  Delete `⏎···`                                                                                              prettier/prettier
  24:7   error  'doUpdateTokenElement' was used before it was defined                                                      no-use-before-define
  29:9   error  '$element' is never reassigned. Use 'const' instead                                                        prefer-const
  31:5   error  'grecaptcha' is not defined                                                                                no-undef
  36:7   error  'grecaptcha' is not defined                                                                                no-undef
  36:17  error  Insert `⏎········`                                                                                         prettier/prettier
  37:9   error  Replace `action:·$element.data('recaptchaV3Action')` with `··action:·$element.data('recaptchaV3Action'),`  prettier/prettier
  38:7   error  Replace `})` with `··})⏎········`                                                                          prettier/prettier
  39:1   error  Insert `··`                                                                                                prettier/prettier
  39:9   error  Prefer value to $.val                                                                                      jquery/no-val
  40:1   error  Replace `········` with `··········`                                                                       prettier/prettier
  41:1   error  Insert `··`                                                                                                prettier/prettier
  65:11  error  'interval' is never reassigned. Use 'const' instead                                                        prefer-const
  72:10  error  Insert `,`                                                                                                 prettier/prettier
  74:6   error  Insert `,`                                                                                                 prettier/prettier

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇦Ukraine dench0

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024