-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve excluded files + add CaptainHook
- Loading branch information
Showing
5 changed files
with
79 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
/bin export-ignore | ||
/tests export-ignore | ||
/tools export-ignore | ||
/examples export-ignore | ||
/docker export-ignore | ||
/vendor-bin export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/captainhook.json export-ignore | ||
/phpstan.neon export-ignore | ||
/phpstan-baseline.neon export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/psalm.xml export-ignore | ||
/psalm-baseline.xml export-ignore | ||
/ruleset.xml export-ignore | ||
/captainhook.json export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"commit-msg": { | ||
"enabled": true, | ||
"actions": [ | ||
{ | ||
"action": "\\CaptainHook\\App\\Hook\\Message\\Action\\Beams", | ||
"options": { | ||
"subjectLength": 72, | ||
"bodyLineLength": 72 | ||
}, | ||
"conditions": [] | ||
} | ||
] | ||
}, | ||
"pre-push": { | ||
"enabled": false, | ||
"actions": [] | ||
}, | ||
"pre-commit": { | ||
"enabled": true, | ||
"actions": [ | ||
{ | ||
"action": "\\CaptainHook\\App\\Hook\\PHP\\Action\\Linting", | ||
"options": [], | ||
"conditions": [] | ||
}, | ||
{ | ||
"action": "docker/composer phpstan", | ||
"options": [], | ||
"conditions": [] | ||
}, | ||
{ | ||
"action": "docker/composer psalm", | ||
"options": [], | ||
"conditions": [] | ||
}, | ||
{ | ||
"action": "docker/composer phpcs", | ||
"options": [], | ||
"conditions": [] | ||
}, | ||
{ | ||
"action": "docker/test", | ||
"options": [], | ||
"conditions": [] | ||
} | ||
] | ||
}, | ||
"prepare-commit-msg": { | ||
"enabled": false, | ||
"actions": [] | ||
}, | ||
"post-commit": { | ||
"enabled": false, | ||
"actions": [] | ||
}, | ||
"post-merge": { | ||
"enabled": false, | ||
"actions": [] | ||
}, | ||
"post-checkout": { | ||
"enabled": false, | ||
"actions": [] | ||
} | ||
} |