AdobeDocs / AdobeDocs/app-builder

Lint issues in PRs

Open
#462 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
41
Forks
113
Avg merge
9d 1h
Merged PRs (30d)
2

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Expected behavior

No lint errors.

### Actual behavior

These lint errors are preventing simple PRs from passing checks. They did not occur before.
Example log: https://github.com/AdobeDocs/app-builder/actions/runs/20839688282/job/60428867792?pr=461

16 errors:
```
Error: 1-15T03:32:29.494Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/guides/app_builder_guides/events/custom-events.md: 12:2-12:141: is not allowed. Only custom components are permitted.
Error: 1-15T03:32:29.501Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/guides/app_builder_guides/events/webhooks.md: 12:2-12:142: is not allowed. Only custom components are permitted.
Error: 1-15T03:33:11.241Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/guides/runtime_guides/creating-rest-apis.md: 20:1-20:41: JSON-like content detected in table row. Consider moving code examples outside the table.
Error: 1-15T03:33:15.687Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/guides/runtime_guides/reference_docs/api-ref.md: 221:1-221:82: JSON-like content detected in table row. Consider moving code examples outside the table.
Error: 1-15T03:33:45.133Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/asset-compute-worker-ps-api/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:33:49.274Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/barcode-reader/requirements.md: 12:2-12:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:03.272Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/ci-cd/requirements.md: 12:2-12:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:06.470Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/cron-jobs/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:10.108Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/custom-asset-compute-worker/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:14.944Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/customer-dashboard/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:19.577Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/debugging/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:25.030Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/event-driven/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:26.730Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/events-runtime/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:29.775Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/journaling-events/requirements.md: 14:2-14:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:40.757Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/spectrum-intro/requirements.md: 12:2-12:16: is not allowed. Only custom components are permitted.
Error: 1-15T03:34:46.033Z] [ERROR] ❌ Error processing /home/runner/work/app-builder/app-builder/src/pages/resources/todo-app/requirements.md: 12:2-12:16: is not allowed. Only custom components are permitted.
```

### Steps to reproduce

Create a simple doc PR adding some content. See PR checks for the linter errors.

### Environment

- Browser:
- OS:

### Sample code

_No response_

### Logs

https://github.com/AdobeDocs/app-builder/actions/runs/20839688282/job/60428867792?pr=461

Contributor guide

Open the contributing guide

Research direction

Start with the linked GitHub Actions job and the listed Markdown files under src/pages/guides and src/pages/resources to reproduce the reported lint failures. Review the lint check's current expectations, then verify that all 16 reported errors are resolved and a simple documentation PR passes its checks.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.