From b363f3b651ad85faf741dc843ebcbe6b214f13ab Mon Sep 17 00:00:00 2001 From: omerganim Date: Sun, 6 Nov 2016 09:15:35 +0200 Subject: [PATCH] feat(no-global-setup): change rule recommended config to error --- README.md | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ecfd5a..ae23f9c 100644 --- a/README.md +++ b/README.md @@ -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`) diff --git a/index.js b/index.js index c29bef2..4247770 100644 --- a/index.js +++ b/index.js @@ -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 } } }