Skip to content
Permalink
Browse files
Tools: Husky upgrade and git ignorance improved (#33183)
* With husky 7.0.0, .husky/.gitignore is now unnecessary and can be removed
Ref: #32077 (comment)
CC @gziolo

* Declare files that will always have LF line endings on checkout

* Git ignore Windows specific files and remove composer vendor dir

* Remove special handling for PHP files from .gitattributes

* Unfortunately vendor dir is required to pass the test

Co-authored-by: Greg Ziółkowski <[email protected]>
  • Loading branch information
shivapoudel and gziolo committed Jul 6, 2021
1 parent 1f55df5 commit 2c822acb3091beb3ceca355f3fb1aaa2a48e6b28
Showing with 11 additions and 9 deletions.
  1. +2 −2 .gitattributes
  2. +5 −2 .gitignore
  3. +0 −1 .husky/.gitignore
  4. +3 −3 package-lock.json
  5. +1 −1 package.json
@@ -1,7 +1,7 @@
# default
# Set the default behavior, in case people don't have `core.autocrlf` set.
* text=auto

# Windows bat files in mobile/android
# Windows bat files in mobile/android.
*.bat -text

# Denote all files that are truly binary and should not be modified.
@@ -7,19 +7,22 @@ node_modules
gutenberg.zip

# Directories/files that may appear in your environment
.DS_Store
*.log
phpcs.xml
yarn.lock
/artifacts

.cache
*.tsbuildinfo

# Operating system specific files
.DS_Store
Thumbs.db

# Report generated from jest-junit
test/native/junit.xml

# Local overrides
.wp-env.override.json
phpcs.xml
phpunit.xml
phpunit-watcher.yml

This file was deleted.

Some generated files are not rendered by default. Learn more.

@@ -173,7 +173,7 @@
"execa": "4.0.2",
"fast-glob": "2.2.7",
"glob": "7.1.2",
"husky": "6.0.0",
"husky": "7.0.0",
"inquirer": "7.1.0",
"jest": "26.6.3",
"jest-junit": "11.0.0",

0 comments on commit 2c822ac

Please sign in to comment.