diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-06 00:09:12 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-06 00:09:12 +0000 |
commit | a97acfe57aac7d8206e99e5ffdfe9c5fb5b69544 (patch) | |
tree | 2133036f5e917d2d795ddd750f5772d53b957c88 /spec/frontend/.eslintrc.yml | |
parent | 76623c12c136f43f24c3966ed4b469e2c0b434b7 (diff) | |
download | gitlab-ce-a97acfe57aac7d8206e99e5ffdfe9c5fb5b69544.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/.eslintrc.yml')
-rw-r--r-- | spec/frontend/.eslintrc.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/frontend/.eslintrc.yml b/spec/frontend/.eslintrc.yml index e78a38d31f5..1dd8351f692 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' |