| 4 | import { getCommentTechniques, getTransformationLevelDescription, getVariableNamingTechniques } from './styleRules'; |
| 5 | |
| 6 | interface ShittyCodeConfig { |
| 7 | shitty_code_settings: { |
| 8 | transformation_level: string; |
| 9 | transformation_techniques: string[]; |
| 10 | language_specific_techniques: boolean; |
| 11 | framework?: string; |
| 12 | preserve_functionality: boolean; |
| 13 | add_easter_eggs: boolean; |
| 14 | add_comments: boolean; |
| 15 | comment_style: string; |
| 16 | variable_naming_style: string; |
| 17 | code_structure_style: string; |
| 18 | error_handling_style: string; |
| 19 | performance_style: string; |
| 20 | readability_style: string; |
| 21 | code_only_output: boolean; |
| 22 | }; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * 生成 .cursorrules 文件内容 |
nothing calls this directly
no outgoing calls
no test coverage detected