Skip to content

Commit

Permalink
Add Makefile for running linters etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Jan 16, 2020
1 parent 44c5b15 commit 873c1af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .mdlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Disable "MD013 Line length" and "MD029 Ordered list item prefix".
rules "~MD013", "~MD029"
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.PHONY: check phpstan phpcs markdownlint

check: phpstan phpcs markdownlint

phpstan:
-vendor/bin/phpstan analyse .

phpcs:
-vendor/bin/phpcs -s bin/ src/

# gem install mdl
markdownlint:
-mdl *.md

0 comments on commit 873c1af

Please sign in to comment.