chore: fix formatting and linting issues

This commit is contained in:
2025-09-10 01:39:13 +03:00
parent 32e6ee3885
commit 5b9b4e4492
2 changed files with 11 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
# Development Commands
## Key Make Targets
- `make help` - Show all available targets with descriptions
- `make check` - Quick health check (tools and version consistency)
- `make test` - Run complete test suite
@@ -11,6 +12,7 @@
- `make dev-setup` - Set up development environment
## Testing
- `make test-unit` - Lua unit tests only
- `make test-integration` - Integration tests
- `make test-golden` - Golden master tests
@@ -18,6 +20,7 @@
- Test runner: `./tests/run_tests.sh`
## Linting
- Uses pre-commit hooks
- ShellCheck for shell scripts
- StyLua for Lua formatting
@@ -26,8 +29,9 @@
- shfmt for shell script formatting
## Version Management
- Three files must stay in sync:
- `lua/shellspec/init.lua` (M._VERSION)
- `plugin/shellspec.vim` (g:shellspec_version)
- `bin/shellspec-format` (version string)
- `make version-check` verifies consistency
- `make version-check` verifies consistency