Procházet zdrojové kódy

Exclude .git folder (#4824)

Alexandre Alapetite před 3 roky
rodič
revize
f2fe9e2ff3
7 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 1 0
      .eslintignore
  2. 1 0
      .jshintignore
  3. 1 0
      .markdownlintignore
  4. 1 0
      .stylelintignore
  5. 1 0
      .typos.toml
  6. 1 0
      phpcs.xml
  7. 1 0
      phpstan.neon

+ 1 - 0
.eslintignore

@@ -1,4 +1,5 @@
 *.min.js
+.git/
 extensions/
 node_modules/
 p/scripts/vendor/

+ 1 - 0
.jshintignore

@@ -1,3 +1,4 @@
+.git/
 node_modules/
 p/scripts/bcrypt.min.js
 p/scripts/vendor/

+ 1 - 0
.markdownlintignore

@@ -1,3 +1,4 @@
+.git/
 lib/phpgt/
 lib/phpmailer/
 node_modules/

+ 1 - 0
.stylelintignore

@@ -1,3 +1,4 @@
+.git/
 extensions/
 node_modules/
 p/scripts/vendor/

+ 1 - 0
.typos.toml

@@ -13,6 +13,7 @@ extend-exclude = [
 	"*.po",
 	"*.pot",
 	"*.rtl.css",
+	".git/",
 	"app/i18n/cz/",
 	"app/i18n/de/",
 	"app/i18n/es/",

+ 1 - 0
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>

+ 1 - 0
phpstan.neon

@@ -7,6 +7,7 @@ parameters:
 	paths:
 		- .
 	excludePaths:
+		- .git/*
 		- lib/phpmailer/*
 		- lib/SimplePie/*
 		- node_modules/*