You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,11 @@ Use with the `--staged` flag to skip re-staging files after formatting.
88
88
89
89
When not in `staged` pre-commit mode, use this flag to compare changes with the specified branch. Defaults to `master` (git) / `default` (hg) branch.
90
90
91
+
### `--pattern`
92
+
93
+
Filters the files for the given [minimatch](https://github.com/isaacs/minimatch) pattern.
94
+
For example `pretty-quick --pattern "**/*.*(js|jsx)"` or `pretty-quick --pattern "**/*.js" --pattern "**/*.jsx"`
95
+
91
96
### `--verbose`
92
97
93
98
Outputs the name of each file right before it is proccessed. This can be useful if Prettier throws an error and you can't identify which file is causing the problem.
0 commit comments