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
| `rootDir` | string | The path to the root directory of your project. <br>If using a config file, this defaults to the config directory. |
227
241
| `crawlFrom` | string | The path of the directory to start crawling from.<br>Absolute or relative to the config file location. |
228
242
| `exclude` | array or function | Each array item should be a string or a regex. When crawling, if directory name matches exactly the string item or matches the regex item, it will be excluded from crawling.<br>For more complex scenarios, `exclude` can be a a function that accepts a directory name and should return `true` if the directory should be excluded from crawling. |
229
243
| `globs` | array | Only files matching these globs will be scanned. See [here](https://github.com/micromatch/picomatch#globbing-features) for glob syntax.<br>Default: `["**/!(*.test\|*.spec).@(js\|ts)?(x)"]` |
@@ -258,9 +272,9 @@ processors: [
258
272
259
273
All the built-in processors support the following options:
| `outputTo` | string | Where to output the result.<br>Absolute or relative to the config file location.<br>When omitted, the result is printed out to the console. |
| `outputTo` | string | Where to output the result.<br>Absolute or relative to the root directory.<br>When omitted, the result is printed out to the console. |
264
278
265
279
Here are the built-in processors that `react-scanner` comes with:
0 commit comments