Closed (fixed)
Project:
Smart Date
Version:
4.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2024 at 16:34 UTC
Updated:
19 Apr 2024 at 12:29 UTC
Jump to comment: Most recent
Currently ESLint is reporting the following;
✖ 346 problems (303 errors, 43 warnings)
A couple of quite similar issues with eslint checks.
Please see previous pipeline log: https://git.drupalcode.org/project/smart_date/-/jobs/1161523
Always use "const" for declarations that don't need to be updated.
Always use "let" for variables that get updated.
Check the correct for each declaration and update.
N/A
N/A
N/A
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
lostcarpark commentedComment #4
lostcarpark commentedFixing "var" statements, and changing "let" to "const" where not modified, reduces the number of errors considerably.
✖ 247 problems (204 errors, 43 warnings)Comment #5
lostcarpark commentedComment #8
mandclu commentedThanks for your work on this @lostcarpark.
While testing these changes I did also find a regression in the end date not hiding, which looks to go back to the move to strict comparisons in a previous issue. I incorporated that fix here as well.
Merged in.