Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10504

ESLint no-unused-variables false positive error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • None
    • JavaScript
    • None

      There is a bug in babel-eslint 11.0.0-beta.0, whitch is used in this project

      no-unused-vars rule throws false positive error with for-in loop - https://github.com/eslint/eslint/issues/12117.

      It can be solved by downgrading babel-eslint to 10.0.3

      Update #1: downgrade isn't possible: https://github.com/metabrainz/musicbrainz-server/pull/1295

       

      Possible solutions: wait for update or own fork

            reosarevok Nicolás Tamargo
            voloshinskii Maxim Voloshinskii
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package