Skip to content

Commit 2dfbdbf

Browse files
committed
Add eslint flag to report unused rules
1 parent 035f9ae commit 2dfbdbf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/make/lib/lint/javascript/eslint.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ ESLINT_IGNORE ?= $(CONFIG_DIR)/eslint/.eslintignore
4646

4747
# Define the command-line options to use when invoking the ESLint executable:
4848
ESLINT_FLAGS ?= \
49-
--ignore-path $(ESLINT_IGNORE)
49+
--ignore-path $(ESLINT_IGNORE) \
50+
--report-unused-disable-directives
5051

5152

5253
# RULES #

0 commit comments

Comments
 (0)