# Default whitespace handling (exclude common issues)
* whitespace=!indent,trail,space

# Python files
*.py text eol=lf diff=python whitespace=indent,trail,space

# C/C++ source files
*.c text eol=lf whitespace=indent,trail,space
*.cpp text eol=lf whitespace=indent,trail,space

# C/C++ header files
*.h text eol=lf diff=cpp whitespace=indent,trail,space
*.hpp text eol=lf diff=cpp whitespace=indent,trail,space

# TypeScript
*.ts text eol=lf diff=javascript whitespace=indent,trail,space
*.ets text eol=lf diff=javascript whitespace=indent,trail,space