chkdomain
chkdomain copied to clipboard
Standardize indentation in chkdm script for code consistency
Issue Description
The chkdm script has inconsistent indentation throughout the codebase, mixing both 2-space and 4-space indentation patterns.
Problem
While .editorconfig specifies 2-space indentation, the existing chkdm script contains mixed indentation:
- Some sections use 2-space indentation
- Other sections use 4-space indentation
- This inconsistency makes the code harder to read and maintain
Impact
- Inconsistent code formatting affects readability
- Makes it unclear which indentation standard contributors should follow
- Can lead to further inconsistencies in future contributions
- The AGENTS.md documentation reflects this existing inconsistency
Suggested Solution
Standardize the indentation throughout the chkdm script to follow a consistent pattern (either 2-space or 4-space, preferably aligning with the .editorconfig specification).
References
- Original PR: https://github.com/PeterDaveHello/chkdomain/pull/38
- Comment discussion: https://github.com/PeterDaveHello/chkdomain/pull/38#discussion_r2380085615
- Flagged by: @gemini-code-assist[bot]
- Requested by: @PeterDaveHello