Tags: Done-0/fuck-u-code
Tags
fix: resolve arrow function boundary detection in React components - Fix tree-sitter parser to correctly identify nested arrow functions - Modified collectNodesByTypes to recursively traverse function nodes - Arrow functions inside React components now correctly identified with accurate line counts and nesting depths - Update version to 2.2.1 - Add auto-release workflow for GitHub Release automation - Remove old manual release workflow
feat: add JSON schema documentation and improve parser error handling - Add comprehensive JSON schema field descriptions with i18n support (en, zh, ru) - Fix shell script parsing by adding graceful fallback to regex parser when tree-sitter fails - Change MCP server default output format from markdown to JSON for better AI integration - Improve parser error handling with automatic fallback mechanism - Add detailed field explanations in $schema for better AI comprehension - Bump version to 2.2.0 Breaking changes: - MCP server now returns JSON format by default instead of markdown
Release v2.1.0: Add update command and language-specific thresholds Features: - Add 'fuck-u-code update' command to auto-update to latest version - Implement language-specific thresholds for 14 languages based on official standards - Unify version management with single source of truth (src/version.ts) Bug Fixes: - Remove Kotlin support due to tree-sitter parser limitations - Verify PHP parameter threshold matches PHPMD official standard Improvements: - Update Chinese translation: '屎气指数' → '糟糕指数' - Add update command to CLI help examples - Fix ESLint configuration Supported Languages (14): Go, JavaScript, TypeScript, Python, Java, C, C++, Rust, C#, Lua, PHP, Ruby, Swift, Shell