diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-04-10 13:54:32 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-04-10 15:22:15 +0200 |
commit | c5094f361ffdb86c7c33c3e367b33d878efbead8 (patch) | |
tree | e651314257b15344350f8925f4cd2b54ec7ab5a8 | |
parent | 375816953700398ad1d7a68365650dfc643e1cbd (diff) | |
download | gitlab-ce-winh-eslint-jest.tar.gz |
Replace individual ESLint rules with jest/recommendedwinh-eslint-jest
-rw-r--r-- | spec/frontend/.eslintrc.yml | 7 |
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 |