Gitlab CI: fix eslint

Created on 3 June 2024, 10 months ago
Updated 6 June 2024, 10 months ago

ESlint returns errors.
See CI pipeline for more details.

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇦🇺Australia VladimirAus Brisbane, Australia

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

Merge Requests

Comments & Activities

  • Issue created by @VladimirAus
  • First commit to issue fork.
  • Pipeline finished with Failed
    10 months ago
    Total: 145s
    #192336
  • Pipeline finished with Failed
    10 months ago
    Total: 147s
    #192344
  • Status changed to Needs work 10 months ago
  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • Pipeline finished with Failed
    9 months ago
    Total: 141s
    #224361
  • Pipeline finished with Failed
    9 months ago
    Total: 146s
    #224381
  • Pipeline finished with Failed
    9 months ago
    #224400
  • Pipeline finished with Failed
    9 months ago
    Total: 150s
    #224429
  • Pipeline finished with Failed
    9 months ago
    Total: 148s
    #224512
  • Pipeline finished with Failed
    9 months ago
    Total: 167s
    #224527
  • Pipeline finished with Failed
    9 months ago
    Total: 140s
    #224529
  • Pipeline finished with Failed
    9 months ago
    Total: 141s
    #224530
  • Pipeline finished with Failed
    9 months ago
    Total: 140s
    #224532
  • Pipeline finished with Failed
    9 months ago
    Total: 169s
    #224537
  • Pipeline finished with Failed
    9 months ago
    #224539
  • Pipeline finished with Failed
    9 months ago
    Total: 142s
    #224566
  • Pipeline finished with Failed
    9 months ago
    Total: 164s
    #224575
  • Status changed to Needs review 9 months ago
  • 🇮🇳India deepak5423

    please review

  • Status changed to Needs work 9 months ago
  • 🇦🇺Australia VladimirAus Brisbane, Australia

    Merge error. Make sure to pull 4.0.x branch

    git pull origin 4.0.x
    

    and resolve conflicts.

  • Pipeline finished with Failed
    9 months ago
    Total: 137s
    #225384
  • Pipeline finished with Failed
    9 months ago
    Total: 161s
    #225402
  • Status changed to Needs review 9 months ago
  • 🇮🇳India deepak5423

    please review

  • Status changed to RTBC 8 months ago
  • 🇮🇳India Tirupati_Singh

    Hi, as there is no eslint issues and pipeline is Green for eslint hence moving the issue status to RTBC.

  • Status changed to Needs work 8 months ago
  • 🇦🇺Australia VladimirAus Brisbane, Australia
    • New JS functionality are not explained or commented.
    • JS: function moved but no comments added.
    • eslint is still in red.
  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • 🇦🇺Australia jannakha Brisbane!

    Changes look good.
    Tested.
    Ready for release.

    Thanks for your contribution!

  • Pipeline finished with Skipped
    4 months ago
    #354864
  • 🇦🇺Australia VladimirAus Brisbane, Australia

    Committed! Thank you all! 🍻

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed about 1 month ago
  • 🇬🇧United Kingdom paulmartin84

    This has broken the shorthand module completely and stories can no longer be selected.

    if (option.value == 0) {
    

    was changed to:

    if (option.value === 0) {
    

    However the zero is actually a string so now it fails to be excluded and then causes the following error
    TypeError: Cannot read properties of undefined (reading 'description'), so either need to be changed back or changed to === '0'

    While this part is being addressed, we shouldn't be excluding zero anyway. Once a story has been selected, there is currently no way to unselect all stories and set it back to 0 The field doesn't have to be set as a a required nor should it have to be be.

    The code also has a hardcoded field name in it, which is just not acceptable in a Drupal module. Users should be free to name their fields as they wish.

    I'll create a new issue for all of the above, but just putting it here, incase people are wondering why this issue has broken something

  • 🇦🇺Australia VladimirAus Brisbane, Australia

    Thanks for reporting @paulmartin84.
    Committing now.

Production build 0.71.5 2024