Fix eslint issues

Created on 20 April 2024, 7 months ago
Updated 4 August 2024, 4 months ago

Problem/Motivation

The GitLab CI eslint scan identifies the following issues:

*****************************************************************************************************************************
These are the current ESLINT errors and warnings 
*****************************************************************************************************************************
$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/eslint --no-error-on-unmatched-pattern --ignore-pattern="*.es6.js" --resolve-plugins-relative-to=$CI_PROJECT_DIR/$_WEB_ROOT/core --ext=.js,.yml $_ESLINT_EXTRA . || true
/builds/issue/simple_styleguide-3442149/web/modules/custom/simple_styleguide-3442149/config/install/simple_styleguide.patterns.yml
  1:1  error  Empty mapping values are forbidden  yml/no-empty-mapping-value
/builds/issue/simple_styleguide-3442149/web/modules/custom/simple_styleguide-3442149/js/simple-styleguide.js
   8:39  error  Insert `,`                prettier/prettier
  11:34  error  Replace `el` with `(el)`  prettier/prettier
  19:37  error  Replace `el` with `(el)`  prettier/prettier
  32:5   error  Insert `······`           prettier/prettier
  33:1   error  Insert `······`           prettier/prettier
  37:1   error  Delete `⏎`                prettier/prettier
✖ 7 problems (7 errors, 0 warnings)
  6 errors and 0 warnings potentially fixable with the `--fix` option.

Let's fix these.

📌 Task
Status

RTBC

Version

2.0

Component

Code

Created by

🇯🇵Japan ptmkenny

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024