Skip to content

Commit

Permalink
Merge pull request #5795 from eslint/docs-glob
Browse files Browse the repository at this point in the history
Docs: Add note about shell vs node glob parameters in cli
  • Loading branch information
ilyavolodin committed Apr 5, 2016
2 parents b322cd6 + 9c9a295 commit ee7de5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/user-guide/command-line-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ or:

eslint lib/**

Please note that when passing a glob as a parameter, it will be expanded by your shell. The results of the expansion can vary depending on your shell, and its configuration. If you want to use node `glob` syntax, you have to quote your parameter, as follows:

eslint 'lib/**'

## Options

The command line utility has several options. You can view the options by running `eslint -h`.
Expand Down

0 comments on commit ee7de5c

Please sign in to comment.