Skip to content

Commit

Permalink
docs: Add section on ignoring validation errors in CLI documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Feb 10, 2025
1 parent 01b5cf4 commit 076fe26
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions products/cli/extension-commands/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,14 @@ The following PHP versions are supported for linting:
- 8.2

These versions don't need to be installed locally, they are downloaded on demand and executed using WebAssembly without any dependencies.

## Ignoring errors

Each error has a unique identifier, and they can be individually ignored using the `.shopware-project.yml`:

```yaml
validation:
ignore:
# This is an example key
- "metadata.setup"
```

0 comments on commit 076fe26

Please sign in to comment.