Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/.eslintrc.yml')
-rw-r--r--spec/frontend/.eslintrc.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/frontend/.eslintrc.yml b/spec/frontend/.eslintrc.yml
index e78a38d31f5..c8aacca5ef2 100644
--- a/spec/frontend/.eslintrc.yml
+++ b/spec/frontend/.eslintrc.yml
@@ -6,6 +6,12 @@ plugins:
extends:
- 'plugin:jest/recommended'
settings:
+ # We have to teach eslint-plugin-import what node modules we use
+ # otherwise there is an error when it tries to resolve them
+ import/core-modules:
+ - events
+ - fs
+ - path
import/resolver:
jest:
jestConfigFile: 'jest.config.js'