Add .gitattributes and exclude other development files. (#103)

Signed-off-by: costdev <79332690+costdev@users.noreply.github.com>
This commit is contained in:
Colin Stewart 2025-06-17 19:05:57 +01:00 committed by GitHub
parent d2f2df6787
commit 6208b29cec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 0 deletions

View file

@ -8,5 +8,10 @@ phpunit.xml.dist
wp-tests-config-sample.php wp-tests-config-sample.php
composer.json composer.json
composer.lock composer.lock
package.json
package-lock.json
.wp-env.json
.gitignore .gitignore
.gitattributes
.distignore .distignore
.editorconfig

18
.gitattributes vendored Normal file
View file

@ -0,0 +1,18 @@
* text=auto
/.git export-ignore
/.github export-ignore
/bin export-ignore
/node_modules export-ignore
/tests export-ignore
phpunit.xml.dist export-ignore
wp-tests-config-sample.php export-ignore
composer.json export-ignore
composer.lock export-ignore
package.json export-ignore
package-lock.json export-ignore
.wp-env.json export-ignore
.gitignore export-ignore
.gitattributes export-ignore
.distignore export-ignore
.editorconfig export-ignore