fix: resolve documentation inconsistencies and add ExampleGroup variants

Documentation Fixes:
- README.md: Update test count from 59 to 63 (badge, features, test command)
- README.md: Fix lint script references to actual npm scripts
- CONTRIBUTING.md: Correct format script reference to npm run format:check
- package.json: Remove non-existent yamllint script, split lint:markdown into check/fix variants

Grammar Enhancements:
- Add fExampleGroup and xExampleGroup to Context block variants
- Regenerate parser with new grammar (63/63 tests passing, 100% success rate)

Syntax Highlighting:
- Add fExampleGroup and xExampleGroup to focused/skipped block highlights
- Remove non-matching Data modifier tokens (:raw, :expand, #|)
- Add "End" keyword as block terminator

Memory File Corrections:
- Remove incorrect merge_group trigger references
- Remove pr-lint.yml workflow references (deleted in previous optimization)
- Update test counts with timestamps (59→63, added 2025-12-11)
- Update conflict count (13→5, optimized)

Code Style:
- Auto-format renovate.json and tree-sitter.json with prettier
This commit is contained in:
2025-12-11 18:23:18 +02:00
parent c24ae6b1f8
commit ccb9121b89
14 changed files with 1579 additions and 223 deletions

View File

@@ -149,9 +149,8 @@ Total: 1,302 lines, 61 tests
1. **test.yml** - Multi-node testing (Node 22, 24)
2. **release.yml** - Automated releases
3. **codeql.yml** - Security code scanning
4. **pr-lint.yml** - Pull request validation
5. **stale.yml** - Issue/PR management
6. **sync-labels.yml** - Label synchronization
4. **stale.yml** - Issue/PR management
5. **sync-labels.yml** - Label synchronization
### Custom GitHub Actions

View File

@@ -36,7 +36,7 @@ The project had significant duplication in GitHub Actions workflows, causing unn
**File**: `.github/workflows/test.yml` → Renamed to "CI"
- **Purpose**: Single source of truth for all continuous integration
- **Triggers**: push, pull_request, merge_group to main/master
- **Triggers**: push, pull_request to main/master
- **Jobs**: test (matrix), lint, coverage
- **Result**: Eliminated duplicate linting, maintained full functionality

View File

@@ -79,9 +79,10 @@ End
### Test Coverage Added
- 59 total tests (up from 53)
- 63 total tests (as of 2025-12-11; originally 59, up from 53)
- New `real_world_patterns.txt` test file
- 6 additional tests covering hook statements, directives, and complex patterns
- 4 additional tests for Data block modifiers (added 2025-12-11)
## Integration Status
@@ -118,8 +119,8 @@ End
- **Block types**: 5 (Describe, Context, It, Hook, Utility)
- **Statement types**: 2 (Hook statements, Directives)
- **Keywords supported**: 25+ ShellSpec keywords
- **Test coverage**: 100% (59/59 tests passing)
- **Conflict warnings**: 13 (mostly unnecessary, can be optimized)
- **Test coverage**: 100% (63/63 tests passing as of 2025-12-11)
- **Conflict warnings**: 5 (optimized from 13, all necessary)
## Recommendations for Future Development