馃帹 Code Formatting Standardization
This release standardizes code formatting across all file types in the project, ensuring consistency and adherence to industry best practices.
馃摑 Changes
Indentation Standards
Unified indentation conventions across all file types:
- Python: 4 spaces (PEP 8 standard)
- JSON/YAML: 2 spaces (industry standard)
- Markdown/HTML/XML: 2 spaces (W3C/Google style guide)
- Shell scripts: 2 spaces (Google Shell Style Guide)
- JavaScript/TypeScript: 2 spaces
Configuration Updates
.editorconfig: Added comprehensive file type rules with Chinese comments explaining each standard.prettierrc: Configured per-file-type overrides for consistent formatting across all supported file types.vscode/settings.json: Added expliciteditor.tabSizesettings for all language modes and disabled auto-detectionpyproject.toml: Updated Ruff configuration withline-ending = "lf"setting
Applied Formatting
- Reformatted all project files using Prettier (JSON, YAML, Markdown, etc.)
- Reformatted all Python files using Ruff
- 21 files changed, 930 insertions(+), 789 deletions(-)
Documentation
- Added "Code Style" section to README documenting indentation conventions
- Updated CHANGELOG.md with complete version history
馃敆 Full Changelog
See CHANGELOG.md for complete details.
Full Diff: v1.0.0...v1.0.1