@ccdevkit/ccaudit 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,10 +82,10 @@ Checks run sequentially and stop at first failure.
|
|
|
82
82
|
|
|
83
83
|
## audit.yaml
|
|
84
84
|
|
|
85
|
-
The `audit.yaml` file
|
|
85
|
+
The `audit.yaml` file can optionally specify which checks to run:
|
|
86
86
|
|
|
87
87
|
```yaml
|
|
88
|
-
|
|
88
|
+
checks:
|
|
89
89
|
- ../shared/* # All checks from shared/ directory
|
|
90
90
|
- ../other-audit # All checks from another audit (recursively)
|
|
91
91
|
- ./check-custom.sh # Specific check file
|
|
@@ -93,7 +93,10 @@ includes:
|
|
|
93
93
|
|
|
94
94
|
Paths are relative to the audit directory. Wildcards (`*`, `?`, `[...]`) are supported.
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
**Check discovery behavior:**
|
|
97
|
+
- **No `checks:` field**: All `.sh` and `.md` files in the audit directory are loaded (default)
|
|
98
|
+
- **`checks:` with items**: Only the specified items are loaded (exclusive mode)
|
|
99
|
+
- **`checks: []` (empty)**: No checks are loaded (audit runs nothing)
|
|
97
100
|
|
|
98
101
|
## Configuration
|
|
99
102
|
|