Link to fast-glob instead of glob in docs (#6333)

This commit is contained in:
Niklas Higi authored and Lipis committed 2019-07-28 09:43:06 +03:00
1 parent 48697e9237
commit 788bd7afcd
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ In practice, this may look something like:
prettier --single-quote --trailing-comma es5 --write "{app,__{tests,mocks}__}/**/*.js" prettier --single-quote --trailing-comma es5 --write "{app,__{tests,mocks}__}/**/*.js"
``` ```
Don't forget the quotes around the globs! The quotes make sure that Prettier expands the globs rather than your shell, for cross-platform usage. The [glob syntax from the glob module](https://github.com/isaacs/node-glob/blob/master/README.md#glob-primer) is used. Don't forget the quotes around the globs! The quotes make sure that Prettier expands the globs rather than your shell, for cross-platform usage. The [glob syntax from the `fast-glob` module](https://github.com/mrmlnc/fast-glob/blob/master/README.md#pattern-syntax) is used.
Prettier CLI will ignore files located in `node_modules` directory. To opt-out from this behavior use `--with-node-modules` flag. Prettier CLI will ignore files located in `node_modules` directory. To opt-out from this behavior use `--with-node-modules` flag.