Skip to content

Commit ad676dc

Browse files
authored
docs(no-large-snapshots): mention --ext snap (#1373)
1 parent 197e986 commit ad676dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/rules/no-large-snapshots.md

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ module.exports = {
2424
};
2525
```
2626

27+
In order to check external snapshots, you must also have `eslint` check files
28+
with the `.snap` extension by either passing `--ext snap` on the command line or
29+
by explicitly specifying `.snap` in `overrides`.
30+
2731
## Rule details
2832

2933
This rule looks at all Jest inline and external snapshots (files with `.snap`

0 commit comments

Comments
 (0)