Skip to content

Commit 873c1af

Browse files
committed
Add Makefile for running linters etc.
1 parent 44c5b15 commit 873c1af

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.mdlrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Disable "MD013 Line length" and "MD029 Ordered list item prefix".
2+
rules "~MD013", "~MD029"

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.PHONY: check phpstan phpcs markdownlint
2+
3+
check: phpstan phpcs markdownlint
4+
5+
phpstan:
6+
-vendor/bin/phpstan analyse .
7+
8+
phpcs:
9+
-vendor/bin/phpcs -s bin/ src/
10+
11+
# gem install mdl
12+
markdownlint:
13+
-mdl *.md

0 commit comments

Comments
 (0)