We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c620085 commit 306cfdeCopy full SHA for 306cfde
Makefile
@@ -12,11 +12,8 @@ endif
12
13
latest:: lint
14
.PHONY: lint
15
-lint:
+lint::
16
@err=0; for f in draft-*.md ; do \
17
- if grep -n ' $$' "$$f"; then \
18
- echo "$$f contains trailing whitespace"; err=1; \
19
- fi; \
20
if cat "$$f" | (l=0; while read -r a; do l=$$(($$l + 1)); echo -E "$$l:$$a"; done) | \
21
sed -e '1,/--- abstract/d;/^[0-9]*: *|/d' | tr -d '\r' | grep '^[0-9]*:.\{81\}'; then \
22
echo "$$f contains a line with >80 characters"; err=1; \
0 commit comments