UNPKG

430 BMarkdownView Raw
1## EXAMPLES
2
3Lint all javascript files in the current directory:
4
5```bash
6 $ bb-test lint
7```
8
9Lint all javascript files in a sub directory (single quotes to avoid bash expansion):
10
11```bash
12 $ bb-test lint 'src/**/*.js'
13```
14
15Lint using a custom config file:
16
17```bash
18 $ bb-test lint --eslint-config ./eslint.conf.json
19```
20
21Exclude custom glob patterns from linting:
22
23```bash
24 $ bb-test lint --exclude 'prebuilt/*,assets/*'
25```
\No newline at end of file