summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-04-10 13:54:32 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-04-10 15:22:15 +0200
commitc5094f361ffdb86c7c33c3e367b33d878efbead8 (patch)
treee651314257b15344350f8925f4cd2b54ec7ab5a8
parent375816953700398ad1d7a68365650dfc643e1cbd (diff)
downloadgitlab-ce-c5094f361ffdb86c7c33c3e367b33d878efbead8.tar.gz
Replace individual ESLint rules with jest/recommendedwinh-eslint-jest
-rw-r--r--spec/frontend/.eslintrc.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/frontend/.eslintrc.yml b/spec/frontend/.eslintrc.yml
index ff18f0e4a2d..e78a38d31f5 100644
--- a/spec/frontend/.eslintrc.yml
+++ b/spec/frontend/.eslintrc.yml
@@ -3,6 +3,8 @@ env:
jest/globals: true
plugins:
- jest
+extends:
+ - 'plugin:jest/recommended'
settings:
import/resolver:
jest:
@@ -12,8 +14,3 @@ globals:
loadFixtures: false
preloadFixtures: false
setFixtures: false
-rules:
- jest/no-identical-title: error
- jest/no-focused-tests: error
- jest/valid-describe: error
- jest/no-jasmine-globals: error