A free, self-hostable news aggregator…
Exclude .git folder (#4824)
Alexandre Alapetitef2fe9e2ff36e
diff --git a/.eslintignore b/.eslintignoreindex a7369cee4..a87ce6da9 100644--- a/.eslintignore+++ b/.eslintignore@@ -1,4 +1,5 @@*.min.js+.git/extensions/node_modules/p/scripts/vendor/diff --git a/.jshintignore b/.jshintignoreindex 21b0fd2eb..6b43fb14f 100644--- a/.jshintignore+++ b/.jshintignore@@ -1,3 +1,4 @@+.git/node_modules/p/scripts/bcrypt.min.jsp/scripts/vendor/diff --git a/.markdownlintignore b/.markdownlintignoreindex 1a634e542..6e1cfb9c4 100644--- a/.markdownlintignore+++ b/.markdownlintignore@@ -1,3 +1,4 @@+.git/lib/phpgt/lib/phpmailer/node_modules/diff --git a/.stylelintignore b/.stylelintignoreindex 451259453..77c22e797 100644--- a/.stylelintignore+++ b/.stylelintignore@@ -1,3 +1,4 @@+.git/extensions/node_modules/p/scripts/vendor/diff --git a/.typos.toml b/.typos.tomlindex d6582c946..f4b7d5f5a 100644--- a/.typos.toml+++ b/.typos.toml@@ -13,6 +13,7 @@ extend-exclude = ["*.po","*.pot","*.rtl.css",+ ".git/","app/i18n/cz/","app/i18n/de/","app/i18n/es/",diff --git a/phpcs.xml b/phpcs.xmlindex 21458e27d..e29886ccb 100644--- a/phpcs.xml+++ b/phpcs.xml@@ -3,6 +3,7 @@<description>Created with the PHP Coding Standard Generator. https://edorian.github.com/php-coding-standard-generator/</description><arg name="extensions" value="php,phtml,css,js"/><arg name="tab-width" value="4"/>+ <exclude-pattern>./.git/</exclude-pattern><exclude-pattern>./lib/SimplePie/</exclude-pattern><exclude-pattern>./lib/phpgt/</exclude-pattern><exclude-pattern>./lib/phpmailer/</exclude-pattern>diff --git a/phpstan.neon b/phpstan.neonindex 99eac0e93..91509245f 100644--- a/phpstan.neon+++ b/phpstan.neon@@ -7,6 +7,7 @@ parameters:paths:- .excludePaths:+ - .git/*- lib/phpmailer/*- lib/SimplePie/*- node_modules/*