GitLab CI - ESLint - "==" and "!="

Created on 25 March 2024, 3 months ago
Updated 9 April 2024, 3 months ago

Problem/Motivation

After 📌 GitLab CI - ESLint - camel case variables Fixed the error count is as follows:

385 problems (342 errors, 43 warnings)

The next most numerous error I notice is "eqeqeq", where "==" or "!=" is used, when "===" or "!==".

The recommendation for JavaScript is to always use the latter form.

Steps to reproduce

See in pipeline: https://git.drupalcode.org/issue/smart_date-3433215/-/jobs/1145908

Proposed resolution

The comparison operators to be changed to the recommended form.

Remaining tasks

  • Change "==" and "!=" to "===" and "!==".
  • Test to ensure no unexpected effects.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Fixed

Version

4.1

Component

Code

Created by

🇮🇪Ireland lostcarpark

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024