Skip to content

Commit

Permalink
feat(recommended): Add plugin and globals env
Browse files Browse the repository at this point in the history
Add the 'jest' plugin and 'jest/globals' environment to the recommended
config so the user doesn't have to include these manually.

Closes jest-community#37
  • Loading branch information
scriptdaemon committed Dec 15, 2017
1 parent 2577b8c commit fd01651
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ const snapshotProcessor = require('./processors/snapshot-processor');
module.exports = {
configs: {
recommended: {
plugins: [
'jest'
],
env: {
'jest/globals': true
},
rules: {
'jest/no-disabled-tests': 'warn',
'jest/no-focused-tests': 'error',
Expand Down

0 comments on commit fd01651

Please # to comment.