Skip to content

Commit

Permalink
docs: update README.md (#366)
Browse files Browse the repository at this point in the history
* Update README.md

Adding note that since version 8.0 the node_modules is no more excluded automatically

* Fixing text

* Fixing grammar
  • Loading branch information
matheusrocha89 authored and bcoe committed Aug 25, 2016
1 parent 2fba5ba commit 1189f3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,8 @@ the array is a glob pattern indicating which paths should be omitted.

Globs are matched using [micromatch](https://www.npmjs.com/package/micromatch).

For example, the following config will exclude everything in `node_modules`,
any files with the extension `.spec.js`, and anything in the `build`
directory:
For example, the following config will exclude any files with the extension `.spec.js`,
and anything in the `build` directory:

```json
{
Expand All @@ -185,6 +184,8 @@ directory:
}
}
```
> Note: Since version 8.0 if you add a "exclude" array the `node_modules`
folder is not automatically excluded, you will need to explicitly add it to your exclude array

> Note: exclude defaults to `['test', 'test{,-*}.js', '**/*.test.js', '**/__tests__/**']`,
which would exclude `test`/`__tests__` directories as well as `test.js`, `*.test.js`,
Expand Down

0 comments on commit 1189f3a

Please sign in to comment.