Skip to content

Commit

Permalink
Added linter scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinOrlowski committed Apr 23, 2024
1 parent 77828c9 commit d899c84
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@
"phpstan/phpstan": "^1.9.1"
},
"scripts": {
"test": "vendor/bin/phpunit -c tests/phpunit.xml"
"test": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit -c tests/phpunit.xml"
],
"lint": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpstan analyse --no-progress --no-interaction -c phpstan.neon.dist"
],
"mdlint": [
"Composer\\Config::disableProcessTimeout",
"markdownlint -c .markdownlint.yaml.dist --ignore vendor --ignore LICENSE.md docs **/*.md README.md"
]
}
}

0 comments on commit d899c84

Please sign in to comment.