Skip to content

Commit 306cfde

Browse files
committedJul 4, 2017
Lint less now that the template does
1 parent c620085 commit 306cfde

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ endif
1212

1313
latest:: lint
1414
.PHONY: lint
15-
lint:
15+
lint::
1616
@err=0; for f in draft-*.md ; do \
17-
if grep -n ' $$' "$$f"; then \
18-
echo "$$f contains trailing whitespace"; err=1; \
19-
fi; \
2017
if cat "$$f" | (l=0; while read -r a; do l=$$(($$l + 1)); echo -E "$$l:$$a"; done) | \
2118
sed -e '1,/--- abstract/d;/^[0-9]*: *|/d' | tr -d '\r' | grep '^[0-9]*:.\{81\}'; then \
2219
echo "$$f contains a line with >80 characters"; err=1; \

0 commit comments

Comments
 (0)
Please sign in to comment.