File tree Expand file tree Collapse file tree 4 files changed +40
-1
lines changed
Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ CHANGELOG.md export-ignore
1616example / export-ignore
1717LICENSE.md export-ignore
1818lpv-logo.png export-ignore
19+ peck.json export-ignore
1920phpstan.neon.dist export-ignore
2021phpunit.xml.dist export-ignore
2122README.md export-ignore
Original file line number Diff line number Diff line change 3030
3131 - name : Check leanness of package
3232 run : composer run-script lpv:validate-gitattributes
33+
34+ - name : Check for spelling mistakes of package
35+ run : sudo apt-get install aspell aspell-en && composer run-script lpv:spell-check
Original file line number Diff line number Diff line change 4949 "lpv:application-phar-version-guard" : " php bin/application-version --verify-tag-match=phar" ,
5050 "lpv:static-analyse" : " phpstan analyse --configuration phpstan.neon.dist" ,
5151 "lpv:validate-gitattributes" : " bin/lean-package-validator validate" ,
52+ "lpv:spell-check" : " ./vendor/bin/peck" ,
5253 "lpv:pre-commit-check" : [
5354 " @lpv:test" ,
5455 " @lpv:cs-lint" ,
5556 " @lpv:static-analyse" ,
56- " @lpv:application-version-guard"
57+ " @lpv:application-version-guard" ,
58+ " @lpv:spell-check"
5759 ]
5860 },
5961 "config" : {
6466 "require-dev" : {
6567 "friendsofphp/php-cs-fixer" : " ^3.0" ,
6668 "mockery/mockery" : " ^1.0" ,
69+ "peckphp/peck" : " ^0.1.2" ,
6770 "phlak/semver" : " ^4.1 || ^6.0" ,
6871 "php-mock/php-mock-phpunit" : " ^2.7||^1.1" ,
6972 "phpstan/phpstan" : " ^2.0" ,
Original file line number Diff line number Diff line change 1+ {
2+ "preset" : " base" ,
3+ "ignore" : {
4+ "words" : [
5+ " php" ,
6+ " gitattributes" ,
7+ " analyser" ,
8+ " analyse" ,
9+ " windowsish" ,
10+ " lpv" ,
11+ " readme" ,
12+ " pathnames" ,
13+ " gitignore" ,
14+ " eol" ,
15+ " nosort" ,
16+ " nocheck" ,
17+ " onlydir" ,
18+ " noescape" ,
19+ " errline" ,
20+ " errfile" ,
21+ " errno" ,
22+ " initialise" ,
23+ " errstr" ,
24+ " delegator" ,
25+ " gitignored" ,
26+ " str" ,
27+ " postfix" ,
28+ " autoconfiguration"
29+ ],
30+ "paths" : []
31+ }
32+ }
You can’t perform that action at this time.
0 commit comments