File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 1818 "enabled" : true ,
1919 "actions" : [
2020 {
21- "action" : " composer normalize --indent-size=4 --indent-style=space --ansi" ,
21+ "action" : " composer normalize --dry-run --ansi" ,
2222 "conditions" : [
2323 {
2424 "exec" : " \\ CaptainHook\\ App\\ Hook\\ Condition\\ FileStaged\\ Any" ,
2929 ]
3030 },
3131 {
32- "action" : " composer pre-commit- lint" ,
32+ "action" : " composer lint" ,
3333 "conditions" : [
3434 {
3535 "exec" : " \\ CaptainHook\\ App\\ Hook\\ Condition\\ FileStaged\\ Any" ,
3838 ]
3939 }
4040 ]
41- },
42- {
43- "action" : " git add {$STAGED_FILES}"
4441 }
4542 ]
4643 },
Original file line number Diff line number Diff line change 3939 "configFile" : " conventional-commits.json"
4040 }
4141 },
42- "bin" : [
43- " bin/xmllint" ,
44- " bin/xmllint-fix"
45- ],
4642 "scripts" : {
4743 "post-autoload-dump" : " captainhook install --ansi -f -s" ,
48- "lint" : " xmllint" ,
49- "lint:fix" : " xmllint-fix" ,
50- "pre-commit-lint" : [
51- " @lint:fix" ,
52- " @lint"
53- ],
44+ "lint" : " ./bin/xmllint" ,
45+ "lint:fix" : " ./bin/xmllint-fix" ,
5446 "test" : " @lint"
5547 },
5648 "scripts-descriptions" : {
5749 "lint" : " Checks all source code for coding standards issues." ,
5850 "lint:fix" : " Checks source code for coding standards issues and fixes them, if possible." ,
59- "pre-commit-lint" : " Runs lint and lint-fix commands during the pre-commit stage." ,
6051 "test" : " Shortcut to run the full test suite."
6152 }
6253}
You can’t perform that action at this time.
0 commit comments