Pass Eslint validations: Testing example

Created on 27 January 2024, 5 months ago
Updated 28 January 2024, 5 months ago

Problem/Motivation

At πŸ“Œ [Meta] Pass Eslint validations Active we are aiming to have all the eslint validation checks passing for the Examples module.

On this issue, we'll be focused on the testing_example sub-module

Initial errors detected by 27/01/2024

modules/testing_example/config/install/core.entity_form_display.node.testing_example.default.yml
  24:28  error  Multiple spaces found before '}'  no-multi-spaces
  33:28  error  Multiple spaces found before '}'  no-multi-spaces
  37:16  error  Multiple spaces found before '}'  no-multi-spaces
  38:28  error  Multiple spaces found before '}'  no-multi-spaces
  44:28  error  Multiple spaces found before '}'  no-multi-spaces
  50:28  error  Multiple spaces found before '}'  no-multi-spaces
  54:16  error  Multiple spaces found before '}'  no-multi-spaces
  55:28  error  Multiple spaces found before '}'  no-multi-spaces
  63:28  error  Multiple spaces found before '}'  no-multi-spaces
  64:10  error  Multiple spaces found before '}'  no-multi-spaces
  65:24  error  Multiple spaces found before '}'  no-multi-spaces
/modules/testing_example/config/install/field.field.node.testing_example.body.yml
  20:17  error  Multiple spaces found before '}'  no-multi-spaces
  24:24  error  Multiple spaces found before '}'  no-multi-spaces
modules/testing_example/config/install/node.type.testing_example.yml
  14:24  error  Multiple spaces found before '}'  no-multi-spaces
/modules/testing_example/testing_example.info.yml
  6:1  error  Expected line before comment  lines-around-comment

Proposed resolution

  1. Check the parent issue for detailed instructions about how to run eslint locally
  2. Run eslint against the submodule: testing_example
  3. Fix the issues found and make a MR with the fixes.
πŸ“Œ Task
Status

Needs review

Version

4.0

Component

Testing Example

Created by

πŸ‡ͺπŸ‡ΈSpain jlbellido

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