Closed Bug 1790675 Opened 3 years ago Closed 3 years ago

Fix ESLint rule warnings for no-unused-vars in modules/libjar/test/unit/test_empty_jar_telemetry.js

Categories

(Core :: Networking: JAR, defect, P3)

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: jsudiaman, Assigned: jsudiaman)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Steps to Reproduce

  1. In the top-level .eslintrc.js file, remove the exclusion for modules/libjar/test/unit/test_empty_jar_telemetry.js
  2. Run ./mach eslint modules/libjar/test/unit/test_empty_jar_telemetry.js

Expected Result
The exclusion is removed and no error occurs.

Actual Result
The exclusion is removed, but the following lint errors are reported:

/Users/mozilla/mozilla-unified/modules/libjar/test/unit/test_empty_jar_telemetry.js
  13:9  error  'TelemetryController' is assigned a value but never used.  no-unused-vars (eslint)
  34:7  error  'jarBase' is assigned a value but never used.              no-unused-vars (eslint)

✖ 2 problems (2 errors, 0 warnings, 0 fixed)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d83ae751edbf Fix ESLint rule warnings for no-unused-vars in modules/libjar/test/unit/test_empty_jar_telemetry.js r=valentin
Severity: -- → S4
Priority: -- → P3
Whiteboard: [necko-triaged]
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: