Fix remaining ESLINT issue

Created on 27 January 2025, 3 months ago

Problem/Motivation

There's still a minor ESLINT issue that needs to be address (and when trying to fix it, it just left the module useless):

/builds/project/google_calendar_service/web/modules/custom/google_calendar_service/config/install/google_calendar_service.default.yml
  1:1  error  Empty mapping values are forbidden  yml/no-empty-mapping-value
  2:1  error  Empty mapping values are forbidden  yml/no-empty-mapping-value
āœ– 2 problems (2 errors, 0 warnings)

https://git.drupalcode.org/project/google_calendar_service/-/jobs/4154199

This is the rule: https://ota-meshi.github.io/eslint-plugin-yml/rules/no-empty-mapping-val...

Perhaps adding the .eslintrc.json with a rule to ignore that rule will fix it? I think it's a big hassle to add default values and then implement some logic to replace the default values with the actual data and also put extra documentation telling the user to do that.

šŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

šŸ‡ØšŸ‡¦Canada danrod Ottawa

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