mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-01-26 11:43:59 +00:00
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:
13
README.md
13
README.md
@@ -1,6 +1,6 @@
|
||||
# tree-sitter-shellspec
|
||||
|
||||
[](https://github.com/ivuorinen/tree-sitter-shellspec)
|
||||
[](https://github.com/ivuorinen/tree-sitter-shellspec)
|
||||
[](https://github.com/ivuorinen/tree-sitter-shellspec)
|
||||
[](https://tree-sitter.github.io/)
|
||||
|
||||
@@ -19,7 +19,7 @@ It enables syntax highlighting, code navigation, and tooling integration for She
|
||||
- **Complete ShellSpec syntax support** - All block types, hooks, and utility constructs
|
||||
- **Real-world compatibility** - Tested against official ShellSpec examples
|
||||
- **Bash integration** - Seamlessly handles mixed ShellSpec/bash code
|
||||
- **Production ready** - 100% test coverage with 59 comprehensive test cases
|
||||
- **Production ready** - 100% test coverage with 63 comprehensive test cases
|
||||
- **Editor support** - Works with any Tree-sitter compatible editor
|
||||
|
||||
## Installation
|
||||
@@ -241,7 +241,7 @@ npm install
|
||||
# Generate parser from grammar
|
||||
npm run generate
|
||||
|
||||
# Run test suite (59 comprehensive tests)
|
||||
# Run test suite (63 comprehensive tests)
|
||||
npm test
|
||||
|
||||
# Build the parser
|
||||
@@ -252,9 +252,10 @@ npm run dev # Generate + test
|
||||
npm run dev:watch # Watch mode for development
|
||||
|
||||
# Linting and formatting
|
||||
npm run lint # Check code style
|
||||
npm run lint:fix # Auto-fix style issues
|
||||
npm run format # Format code
|
||||
npm run lint # Check code style
|
||||
npm run lint:editorconfig:fix # Auto-fix EditorConfig issues
|
||||
npm run lint:markdown # Auto-fix markdown issues (includes --fix)
|
||||
npm run format # Format code with prettier
|
||||
|
||||
# Utilities
|
||||
npm run clean # Clean generated files
|
||||
|
||||
Reference in New Issue
Block a user