You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add no-ai-colon-continuation rule with kuromojin morphological analysis
- Implement new rule to detect English syntax patterns translated to Japanese
- Use kuromojin for accurate part-of-speech analysis to distinguish nouns from predicates
- Allow natural Japanese expressions like '使い方:' (noun + colon)
- Detect unnatural patterns like '実行します:' (predicate + colon)
- Support AST-based detection for Paragraph + block element combinations
- Remove duplicate colon detection from ai-tech-writing-guideline rule
- Add comprehensive test coverage for various patterns
Fixes#16
* fix: support full-width colon and add original test cases
- Add support for both half-width (:) and full-width (:) colons
- Include conjunction detection (例えば: should be flagged)
- Port original test cases from ai-tech-writing-guideline
- Ensure proper colon character display in error messages
- All tests now passing with comprehensive pattern coverage
* refactor: improve colon detection implementation
- Remove redundant colon index calculation
- Determine colon type once and reuse
- Remove unused colonIndex variable
- Keep clean and efficient implementation
* feat: no-ai-colon-continuationルールを追加し、自然な日本語表現を促進
* fix: コロンで終わる述語パターンのエラーメッセージを改善し、自然な日本語表現を提案
* fix: エラーメッセージの表現を改善し、述語とコロンで終わるパターンを明確にしました
* fix: エラーメッセージから冗長な表現を削除し、自然な日本語表現を強調しました
0 commit comments