Commit f88459df authored by Vitaly Slobodin's avatar Vitaly Slobodin

Use Jest config from @gitlab/eslint-plugin

parent a3f59b1f
---
env:
jest/globals: true
plugins:
- jest
extends:
- 'plugin:jest/recommended'
- "plugin:@gitlab/jest"
settings:
# We have to teach eslint-plugin-import what node modules we use
# otherwise there is an error when it tries to resolve them
......@@ -14,9 +10,18 @@ settings:
- path
import/resolver:
jest:
jestConfigFile: 'jest.config.js'
jestConfigFile: "jest.config.js"
globals:
getJSONFixture: false
loadFixtures: false
preloadFixtures: false
setFixtures: false
rules:
jest/expect-expect:
- off
- assertFunctionNames:
- "expect*"
- "assert*"
- "testAction"
jest/no-test-callback:
- off
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment