From d55434280c1a5f158290d67174969207a8c12381 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Tue, 9 Jan 2024 16:03:38 +0100 Subject: [PATCH] modified git ignore --- .gitignore | 68 +++++++++++++++++++++++------------------------------- 1 file changed, 29 insertions(+), 39 deletions(-) diff --git a/.gitignore b/.gitignore index 71ba83a..ed97019 100644 --- a/.gitignore +++ b/.gitignore @@ -1,53 +1,39 @@ # ---> WordPress -# Wordpress - ignore core, configuration, examples, uploads and logs. -# https://github.com/github/gitignore/blob/main/WordPress.gitignore +# ignore everything in the root except the "wp-content" directory. +#!wp-content/ -# Core -# -# Note: if you want to stage/commit WP core files -# you can delete this whole section/until Configuration. -/wp-admin/ -/wp-content/index.php -/wp-content/languages -/wp-content/plugins/index.php -/wp-content/themes/index.php -/wp-includes/ -/index.php -/license.txt -/readme.html -/wp-*.php -/xmlrpc.php +# ignore everything in the "wp-content" directory, except: +# "mu-plugins", "plugins", "themes" directory +#wp-content/* +#!wp-content/mu-plugins/ +#!wp-content/plugins/ +#!wp-content/themes/ -# Configuration -wp-config.php +# ignore these plugins +#wp-content/plugins/hello.php -# Example themes -/wp-content/themes/twenty*/ +# ignore specific themes +#wp-content/themes/twenty*/ -# Example plugin -/wp-content/plugins/hello.php +# ignore node dependency directories +node_modules/ -# Uploads -/wp-content/uploads/ - -# Log files +# ignore log files and databases *.log +*.sql +*.sqlite + +# ignore local personal files +*.geany +.vscode/ +.DS_Store +theme/ +_gitignore* + # htaccess /.htaccess -# All plugins -# -# Note: If you wish to whitelist plugins, -# uncomment the next line -#/wp-content/plugins - -# All themes -# -# Note: If you wish to whitelist themes, -# uncomment the next line -#/wp-content/themes -# ---> Node # Logs logs *.log @@ -179,3 +165,7 @@ dist .yarn/install-state.gz .pnp.* +# linting files +.eslintrc +.stylelintrc.json +