# Auto normalize line endings
* text=auto

# Force consistent line endings
*.php text eol=lf
*.js  text eol=lf
*.jsx text eol=lf
*.ts  text eol=lf
*.tsx text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.json text eol=lf
*.md  text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.xml text eol=lf

# Treat images and binaries properly
*.png  binary
*.jpg  binary
*.jpeg binary
*.gif  binary
*.svg  text
*.ico  binary
*.zip  binary
*.mo   binary
*.po   text
*.pot  text

# Exclude development files from export (useful for WordPress.org or zip deploys)
.husky        export-ignore
.vscode       export-ignore
node_modules  export-ignore
vendor/bin    export-ignore
/tests        export-ignore
/docs         export-ignore
assets        export-ignore
docs        export-ignore

# Configs and dotfiles not needed in distributable
.editorconfig     export-ignore
.eslintrc.json    export-ignore
.eslintignore     export-ignore
.lintstagedrc.json export-ignore
.npmrc            export-ignore
.nvmrc            export-ignore
package.json      export-ignore
package-lock.json export-ignore
composer.lock     export-ignore
phpcs.xml         export-ignore
README.md         export-ignore