2024-03-19 12:13:12 +08:00

48 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# config.yaml 示例配置
# 基础配置
baseConfig:
searchDirectory: "./" # 检索的根目录,"./" 代表当前目录
ignoreCase: false # 是否忽略大小写true 为忽略false 为区分大小写
# 目录命名风格配置
directoryNaming:
allowHyphens: true # 是否允许目录名中含有中划线
allowUnderscores: false # 是否允许目录名中含有下划线
mustBeLowercase: true # 目录名是否必须为小写
# 文件命名风格配置
fileNaming:
allowHyphens: true # 是否允许文件名中含有中划线
allowUnderscores: true # 是否允许文件名中含有下划线
mustBeLowercase: true # 文件名是否必须为小写
# 忽略的文件格式列表
ignoreFormats:
- ".log"
- ".env"
- "_test.go"
# 忽略的目录列表
ignoreDirectories:
- "vendor"
- ".git"
- "node_modules"
- "logs"
- "components"
- "_output"
- "README.md"
- "tools/openim-web"
- "CHANGELOG"
- "docs/readme"
fileTypeSpecificNaming:
".yaml":
allowHyphens: true
allowUnderscores: false
mustBeLowercase: true
".go":
allowHyphens: false
allowUnderscores: true
mustBeLowercase: true