We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 151d830 commit 906528bCopy full SHA for 906528b
tools/make/lib/lint/javascript/eslint.mk
@@ -250,16 +250,16 @@ endif
250
# @example
251
# make eslint-files FILES='/foo/index.js /bar/index.js'
252
#/
253
-eslint-files: $(NODE_MODULES)
+eslint-src: $(NODE_MODULES)
254
ifeq ($(FAIL_FAST), true)
255
- $(QUIET) for file in $(FILES); do \
+ $(QUIET) $(FIND_SOURCES_CMD) | grep '^[\/]\|^[a-zA-Z]:[/\]' | grep -v '/node_modules/' | while read -r file; do \
256
echo ''; \
257
echo "Linting file: $$file"; \
258
$(ESLINT) $(eslint_flags) --config $(ESLINT_CONF) $$file || exit 1; \
259
done
260
else
261
$(QUIET) status=0; \
262
- for file in $(FILES); do \
+ $(FIND_SOURCES_CMD) | grep '^[\/]\|^[a-zA-Z]:[/\]' | grep -v '/node_modules/' | while read -r file; do \
263
264
265
if ! $(ESLINT) $(eslint_flags) --config $(ESLINT_CONF) $$file; then \
@@ -270,4 +270,5 @@ else
270
exit $$status;
271
endif
272
273
+
274
.PHONY: eslint-files
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments