Skip to content

fix(lint): record the unnamed template case without an empty JSON key - #1396

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/lint-empty-golden-key
Nov 3, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
fix/lint-empty-golden-key

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

What

Development's Vue Quality (eslint) job is red: json/no-empty-keys fails on tests/Unit/Service/golden/settingsServiceTemplatesConfig.json:34. The template golden recorded the case for the unnamed template under an empty JSON key. That case is now recorded as (empty), in the test and in its golden. No lib code changes, and the recorded values are the same.

This is split out of the stackiq SIG batch so development can go green on its own.

How it was verified

  • SettingsServiceTemplatesConfigGoldenTest: OK (2 tests, 4 assertions).
  • npm run lint: exit 0, 0 errors (221 warnings, all inherited). Development has 1 error.
  • vitest: this PR changes no JS or Vue file, only a PHP test and its JSON golden, so vitest is unaffected. Its run is queued, and the result follows in a comment.

AI assistance: this change was prepared with Claude Code.

npm run lint failed on json/no-empty-keys for the golden file; the case
for the empty template name is now recorded under (empty).

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde merged commit 492567f into development Nov 3, 2026
8 checks passed
@rubenvdlinde

Copy link
Copy Markdown
Contributor Author

vitest on this branch: 739 passed, 12 failed. The 12 are the same set as on development (manifest and page specs), so nothing new.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/stackiq @ 8996b6f

Check PHP Vue Security License Tests
lint ✅
phpcs ✅
phpmd ✅
psalm ✅
phpstan ✅
phpmetrics ✅
eslint ✅
stylelint ✅
build ✅
check-manifest ✅
check-vue-demi ✅
test-l10n ✅
format ❌
check-schema-l10n ❌
check-l10n-js ✅
composer ❌ ✅ 127/127
npm ❌ ✅ 807/807
app:check-code ⏭️
info.xml ✅
REUSE ❌
lockfile sync ✅
PHPUnit ✅ 1522/1522 · 20 skipped
Newman ⏭️
Playwright ⏭️ deferred: E2E runs locally and on the promotion path only. This pull request targets development, so the suite is asked once per promotion into beta and main rather than once per push per open pull request. Run it locally with npx playwright test, or from the Actions tab on a branch with no open pull request into development.
Hydra gates ❌

Quality workflow — 2026-11-03 08:48 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant