Skip to content

Commit

Permalink
docs: Update description of ignorePath
Browse files Browse the repository at this point in the history
  • Loading branch information
kimulaco committed Sep 13, 2022
1 parent d1e8982 commit 268f2af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/user-guide/usage/cli.md
Expand Up @@ -58,7 +58,7 @@ Ignore `stylelint-disable` (e.g. `/* stylelint-disable block-no-empty */`) comme

### `--ignore-path, -i`

A path to a file containing patterns describing files to ignore. The path can be absolute or relative to `process.cwd()`. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`. [More info](options.md#ignorePath).
Path to a file containing patterns that describe files to ignore. The path can be absolute or relative to `process.cwd()`. You can repeat the option to provide multiple paths. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`. [More info](options.md#ignorePath).

### `--ignore-pattern, --ip`

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/usage/options.md
Expand Up @@ -133,7 +133,7 @@ Disable the default ignores. Stylelint will not automatically ignore the content

CLI flags: `--ignore-path, -i`

A path to a file containing patterns describing files to ignore. The path can be absolute or relative to `process.cwd()`. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`.
Path to a file containing patterns that describe files to ignore. The path can be absolute or relative to `process.cwd()`. You can repeat the option to provide multiple paths. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`.

## `ignoreDisables`

Expand Down
5 changes: 3 additions & 2 deletions lib/cli.js
Expand Up @@ -125,8 +125,9 @@ const meowOptions = {
--ignore-path, -i
Path to a file containing patterns that describe files to ignore. The
path can be absolute or relative to process.cwd(). By default, stylelint
looks for .stylelintignore in process.cwd().
path can be absolute or relative to process.cwd(). You can repeat the
option to provide multiple paths. By default, Stylelint looks for
.stylelintignore in process.cwd().
--ignore-pattern, --ip
Expand Down

0 comments on commit 268f2af

Please sign in to comment.