Improve macOS Icon pattern to prevent collaboration issues
Replace invisible CR with character class Icon[^!-~] The literal CR character is frequently corrupted by: - Text editors auto-trimming invisible chars - Formatting tools (editorconfig) normalizing line endings - Copy/paste operations losing special characters - IDE auto-formatting and linting tools Character class pattern is collaboration-safe and functionally identical.
This commit is contained in:
parent
fc6ce5da28
commit
01e75ac83d
1 changed files with 4 additions and 1 deletions
|
|
@ -3,7 +3,10 @@
|
|||
__MACOSX/
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
Icon[
]
|
||||
|
||||
# Finder custom icons
|
||||
# Pattern [^!-~] prevents corruption by line-ending converters and editor auto-formatting
|
||||
Icon[^!-~]
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue