Skip to content

Commit a328c3d

Browse files
committed
fix md lint
1 parent bb5e30b commit a328c3d

3 files changed

Lines changed: 9 additions & 14 deletions

File tree

Makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -279,17 +279,13 @@ install-npm: ## install npm package manager and dependencies if they cannot be f
279279

280280
.PHONY: install-npm-stylelint
281281
install-npm-stylelint: install-npm ## install stylelint dependency for 'check-css' target using npm
282-
@[ `npm ls 2>/dev/null | grep stylelint-config-standard | grep -v UNMET | wc -l` = 1 ] || ( \
283-
echo "Install required dependencies for CSS checks." && \
284-
npm install --save-dev \
285-
)
282+
@echo "Install required dependencies for CSS checks."
283+
@npm install --save-dev
286284

287285
.PHONY: install-npm-remarklint
288286
install-npm-remarklint: install-npm ## install remark-lint dependency for 'check-md' target using npm
289-
@[ `npm ls 2>/dev/null | grep remark-lint | grep -v UNMET | wc -l` = 1 ] || ( \
290-
echo "Install required dependencies for Markdown checks." && \
291-
npm install --save-dev \
292-
)
287+
@echo "Install required dependencies for Markdown checks."
288+
@npm install --save-dev
293289

294290
.PHONY: install-pip-mdformat
295291
install-pip-mdformat: ## install mdformat dependencies to fix line wrapping

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"name": "weaver",
3-
"version": "6.8.3",
42
"scripts": {
53
"check-markdown": "remark . -f -i .remarkignore",
64
"format-markdown": "remark . -f -i .remarkignore -o"
@@ -12,6 +10,7 @@
1210
"remark-lint": "^10.0.1",
1311
"remark-lint-checkbox-content-indent": "^5.0.1",
1412
"remark-lint-maximum-line-length": "^4.1.1",
13+
"remark-preset-lint-consistent": "^6.0.0",
1514
"remark-preset-lint-markdown-style-guide": "^6.0.1",
1615
"remark-preset-lint-recommended": "^7.0.1",
1716
"stylelint": "^17.9.0",

setup.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ search =
2323
replace =
2424
`Unreleased <https://github.com/crim-ca/weaver/tree/master>`_ (latest)
2525
====================================================================================================================
26-
26+
2727
Changes:
2828
--------
2929
- No change.
30-
30+
3131
Fixes:
3232
------
3333
- No change.
34-
34+
3535
.. _changes_{new_version}:
36-
36+
3737
`{new_version} <https://github.com/crim-ca/weaver/tree/{new_version}>`_ ({now:%%Y-%%m-%%d})
3838
====================================================================================================================
3939

0 commit comments

Comments
 (0)