跳到正文
Code Review

← 官方规则来源

Properties · 官方规则原文

OpenCodeReview v1.13.8 · 4236c871 · Apache-2.0。保留固定版本英文原文;item 编号表示原文件中的检查项顺序。实际扫描以当前规则开关和扫描快照为准。

查看当前规则与开关 → · 下载原始 Markdown

版本与文件信息

提交:4236c871fe8130aa840a2a1c0922f469e87e0416

源码路径:internal/config/rules/rule_docs/properties.md

SHA-256:d4c304229aec069b009cf3a762c0fcb16d8944c4f059187533a745e36e35fb82

Apache-2.0 许可证 · 基线说明

Obvious Typos or Spelling Errors

  • Spelling errors in key names, especially the standard spelling of common configuration items

Configuration Error Detection

  • Duplicate key definitions within the visible scope of the current file causing configuration override issues
  • Malformed key-value pairs (missing equals sign, extra whitespace, etc.)
  • Special characters not properly escaped (e.g., backslashes in paths, Unicode characters, etc.)

Critical Security Issues

  • Sensitive information (passwords, API keys, database connection strings, etc.) stored in plaintext