Skip to content

Commit 2c2bedc

Browse files
committed
Use ext environment variable
1 parent 75f90e1 commit 2c2bedc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/make/lib/lint/remark.mk

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ REMARK_CONF ?= $(CONFIG_DIR)/remark/.remarkrc.js
2525
# Define the path to the remark ignore file:
2626
REMARK_IGNORE ?= $(CONFIG_DIR)/remark/.remarkignore
2727

28-
# Define Markdown extensions:
29-
REMARK_EXT ?= md
30-
3128
# Define the command-line options when invoking the remark executable:
3229
MARKDOWN_LINT_FLAGS ?= \
33-
--ext $(REMARK_EXT) \
30+
--ext $(MARKDOWN_FILENAME_EXT) \
3431
--rc-path $(REMARK_CONF) \
3532
--ignore-path $(REMARK_IGNORE)

0 commit comments

Comments
 (0)