Skip to content

Commit 446fe79

Browse files
scriptdaemonSimenB
authored andcommitted
feat(recommended): add plugin and globals env
Add the 'jest' plugin and 'jest/globals' environment to the recommended config so the user doesn't have to include these manually. Closes #37
1 parent 2577b8c commit 446fe79

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.js

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ const snapshotProcessor = require('./processors/snapshot-processor');
1414
module.exports = {
1515
configs: {
1616
recommended: {
17+
plugins: [
18+
'jest'
19+
],
20+
env: {
21+
'jest/globals': true
22+
},
1723
rules: {
1824
'jest/no-disabled-tests': 'warn',
1925
'jest/no-focused-tests': 'error',

0 commit comments

Comments
 (0)