From f6df8e41cd52699d29458da03fa3194fb3f5eea1 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sat, 24 Apr 2021 09:31:01 +0100 Subject: [PATCH] chore: update gitignore --- .gitignore | 103 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 97 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 36ca5bb..dbb899d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,99 @@ -.phpdoc/ -vendor/ -node_modules/ -dist/ -tmp/ +# ------------------------- +# BEGIN Default WordPress Project Ignores +# Adapted from: https://salferrarello.com/wordpress-gitignore/ +# ------------------------- +# Ignore all files and directories starting with `.` or `~`. +.* +~* + +# Ignore Node and Composer dependency directories. +node_modules/ +vendor/ + +# Ignore OS-generated files. +ehthumbs.db +Thumbs.db +desktop.ini + +# Ignore Editor files. +*.sublime-project +*.sublime-workspace +*.komodoproject + +# Ignore log files and databases. +*.log +*.sql +*.sqlite + +# Ignore compiled files. +*.com +*.class +*.dll +*.exe +*.o +*.so + +# Ignore packaged files. +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# Ignore distribution process files, if they are ever leftover. + +dist/ +svn-tmp/ +*.min.* + +# Ignore temporary files. + +tmp/ +*.tmp *.bak -authors.txt + +# ------------------------- +# BEGIN Whitelisted Files +# ------------------------- + +# Track these version control files, if they exist. +!.gitignore +!.github/ + +# Track these dependency tracking files, if they exist + +!composer.json +!composer-lock.json +!package.json +!package-lock.json + +# Track these distribution ignore files, if they exist. + +!.distignore + +# Track these linter/formatter configuration files, if they exist. + +!.editorconfig +!.phpcs.xml.dist +!.eslintrc.js +!.eslintignore +!.php-commitizen.php +!.prettierignore +!.prettierrc +!.stylelintignore +!.stylelintrc.json + +# Track favicon files, if they exist. +!android-chrome-*.png +!apple-touch-icon*.png +!browserconfig.xml +!favicon*.png +!favicon*.ico +!manifest.json +!mstile-*.png +!safari-pinned-tab.svg +!site.webmanifest