We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d73f85 commit fef537eCopy full SHA for fef537e
tools/make/common.mk
@@ -49,12 +49,12 @@ endif
49
50
# Indicate whether to fix linting errors:
51
ifndef FIX
52
- FIX := false
+ AUTOFIX := false
53
else
54
-ifeq ($(FIX), 0)
55
+ifeq ($(FIX), 1)
+ AUTOFIX := true
56
57
- FIX := true
58
endif
59
60
tools/make/lib/lint/javascript/eslint.mk
@@ -49,7 +49,7 @@ ESLINT_FLAGS ?= \
--ignore-path $(ESLINT_IGNORE) \
--report-unused-disable-directives
-ifeq ($(FIX),true)
+ifeq ($(AUTOFIX),true)
ESLINT_FLAGS += --fix
0 commit comments