Skip to content

Commit

Permalink
feat(no-global-setup): change rule recommended config to error
Browse files Browse the repository at this point in the history
  • Loading branch information
ganimomer authored and Nicolas Fernandez committed Nov 7, 2016
1 parent 285dfaf commit b363f3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Rule | Recommended | Options
[valid-expect][] | 1 |
[no-assign-spyon][] | 0 |
[no-unsafe-spy][] | 1 |
[no-global-setup][] | 1 |
[no-global-setup][] | 2 |
For example, using the recommended configuration, the `no-focused-tests` rule
is enabled and will cause ESLint to throw an error (with an exit code of `1`)
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
'jasmine/valid-expect': 1,
'jasmine/no-assign-spyon': 0,
'jasmine/no-unsafe-spy': 1,
'jasmine/no-global-setup': 1
'jasmine/no-global-setup': 2
}
}
}
Expand Down

0 comments on commit b363f3b

Please sign in to comment.