Skip to content

no_symlinks

Flag tracked paths that are symbolic links. Symlinks are a portability footgun: Windows NTFS needs admin rights to create them, git-for-Windows can silently flatten them, CI runners vary.

- id: no-symlinks
kind: no_symlinks
paths: "**"
level: warning
fix:
file_remove: {} # unlinks the symlink; target is untouched