Fix JS coding issues

Created on 20 May 2024, 7 months ago
Updated 21 May 2024, 7 months ago

Using branch 1.0.x there is a few code style issues in the javascript library. You may also want to run this by eslint.

$ phpcs --standard=Drupal,DrupalPractice advanced_mautic_integration

FILE: ...html/web/modules/contrib/advanced_mautic_integration/js/tracking_events.js
--------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 48 | ERROR | [x] Expected 1 space before "?"; 0 found
 48 | ERROR | [x] Expected 1 space after "?"; 0 found
 48 | ERROR | [x] Expected 1 space before ":"; 0 found
 48 | ERROR | [x] Expected 1 space after ":"; 0 found
 56 | ERROR | [x] Expected 1 space before "?"; 0 found
 56 | ERROR | [x] Expected 1 space after "?"; 0 found
 56 | ERROR | [x] Expected 1 space before "?"; 0 found
 56 | ERROR | [x] Expected 1 space after "?"; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 148ms; Memory: 6MB
📌 Task
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇵🇱Poland gpietrzak Wrocław

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

Comments & Activities

Production build 0.71.5 2024