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 #37
  • Loading branch information
scriptdaemon authored and SimenB committed Dec 15, 2017
1 parent 2577b8c commit 446fe79
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 446fe79

Please # to comment.