Skip to content

Commit bcdec1c

Browse files
committed
Ensure suggestions are applied
1 parent 1ef57ea commit bcdec1c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/namespace_exports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
echo "${namespaces}"
104104
105105
# Lint and fix namespace exports:
106-
make FILES="${namespaces}" FIX=1 lint-javascript-files
106+
make FILES="${namespaces}" FIX=1 FIX_TYPE="suggestion" lint-javascript-files
107107
108108
# Create a pull request with the updated namespace exports:
109109
- name: 'Create pull request'

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ ifeq ($(AUTOFIX),true)
5353
ESLINT_FLAGS += --fix
5454
endif
5555

56+
ifneq ($(FIX_TYPE),)
57+
ESLINT_FLAGS += --fix-type $(FIX_TYPE)
58+
endif
59+
5660
# RULES #
5761

5862
#/

0 commit comments

Comments
 (0)