Skip to content

Commit 17d5ba9

Browse files
jakecastellimarco-ippolito
authored andcommitted
doc: add lint-js-fix into BUILDING.md
When there is any auto-fixable linting errors, there is not a way to pass `--fix` into `make lint-js` as far as I am aware of. Spent quiet some time fixing them one by one and just realised `lint-js-fix` exists. PR-URL: #52290 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
1 parent 88adbd0 commit 17d5ba9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

BUILDING.md

+2
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ documentation tests.
327327
To run the linter without running tests, use
328328
`make lint`/`vcbuild lint`. It will lint JavaScript, C++, and Markdown files.
329329

330+
To fix auto fixable JavaScript linting errors, use `make lint-js-fix`.
331+
330332
If you are updating tests and want to run tests in a single test file
331333
(e.g. `test/parallel/test-stream2-transform.js`):
332334

0 commit comments

Comments
 (0)