Skip to content

Commit 5aab082

Browse files
committed
Update lint examples
1 parent d1cb486 commit 5aab082

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

tools/make/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ $ make view-src-docs
400400
To lint files, including tests, examples, filenames, `package.json`, and Markdown,
401401

402402
``` bash
403-
$ make SOURCES_FILTER=... TESTS_FILTER=... EXAMPLES_FILTER=... MARKDOWN_FILTER=... lint
403+
$ make SOURCES_FILTER=... TESTS_FILTER=... EXAMPLES_FILTER=... BENCHMARKS_FILTER=... MARKDOWN_FILTER=... lint
404404
```
405405

406406
To lint only source files,
@@ -421,6 +421,12 @@ To lint only example files,
421421
$ make EXAMPLES_FILTER=... lint-examples
422422
```
423423

424+
To lint only benchmark files,
425+
426+
``` bash
427+
$ make BENCHMARKS_FILTER=... lint-benchmarks
428+
```
429+
424430
To lint only Markdown files,
425431

426432
``` bash
@@ -430,7 +436,19 @@ $ make MARKDOWN_FILTER=... lint-markdown
430436
To lint only JavaScript files,
431437

432438
``` bash
433-
$ make SOURCES_FILTER=... TESTS_FILTER=... EXAMPLES_FILTER=... lint-javascript
439+
$ make SOURCES_FILTER=... TESTS_FILTER=... EXAMPLES_FILTER=... BENCHMARKS_FILTER=... lint-javascript
440+
```
441+
442+
To lint filenames,
443+
444+
``` bash
445+
$ make lint-filenames
446+
```
447+
448+
To lint `package.json` files,
449+
450+
``` bash
451+
$ make lint-pkg-json
434452
```
435453

436454
---

0 commit comments

Comments
 (0)