Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/style-guides/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3651,7 +3651,7 @@ This document may be reused under a [Creative Commons Attribution-ShareAlike Lic

[idiomatic-js]: https://github.com/rwaldron/idiomatic.js/

[popular-convention]: http://sideeffect.kr/popularconvention/#javascript
[popular-convention]: https://web.archive.org/web/20150701000000/http://sideeffect.kr/popularconvention/#javascript

[quality-guide]: https://github.com/bevacqua/js

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/lapack/base/dlaset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ TODO

[lapack]: https://www.netlib.org/lapack/explore-html/

[lapack-dlaset]: https://www.netlib.org/lapack/explore-html-3.6.1/d7/d43/group__aux_o_t_h_e_rauxiliary_ga89e332374c7cd87e5db54bfe21550bc3.html
[lapack-dlaset]: https://netlib.org/lapack/explore-html/d0/de5/group__laset_gad8051330f20413bd2a4ee0bccaf54ec8.html

[mdn-float64array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array

Expand Down
18 changes: 12 additions & 6 deletions tools/make/lib/lint/javascript/eslint.mk
Original file line number Diff line number Diff line change
Expand Up @@ -253,21 +253,27 @@ endif
eslint-files: $(NODE_MODULES)
ifeq ($(FAIL_FAST), true)
$(QUIET) for file in $(FILES); do \
if [ -f "$$file" ]; then \
echo ''; \
echo "Linting file: $$file"; \
$(ESLINT) $(eslint_flags) --config $(ESLINT_CONF) $$file || exit 1; \
done
fi; \
done

else
$(QUIET) status=0; \
for file in $(FILES); do \
echo ''; \
echo "Linting file: $$file"; \
if ! $(ESLINT) $(eslint_flags) --config $(ESLINT_CONF) $$file; then \
echo 'Linting failed.'; \
status=1; \
if [ -f "$$file" ]; then \
echo ''; \
echo "Linting file: $$file"; \
if ! $(ESLINT) $(eslint_flags) --config $(ESLINT_CONF) $$file; then \
echo 'Linting failed.'; \
status=1; \
fi; \
fi; \
done; \
exit $$status;
endif


.PHONY: eslint-files