Skip to content

Commit ad6930b

Browse files
committed
build: ensure suggestions are not applied by default
1 parent cdf7f92 commit ad6930b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ endif
5656
FIX_TYPE ?=
5757
ifneq ($(FIX_TYPE),)
5858
ESLINT_FLAGS += --fix-type $(FIX_TYPE)
59+
else ifeq ($(AUTOFIX),true)
60+
ESLINT_FLAGS += --fix-type problem,layout,directive
5961
endif
6062

6163
# RULES #

0 commit comments

Comments
 (0)