2018-08-29 20:45:53 +00:00
|
|
|
---
|
2019-04-10 11:54:32 +00:00
|
|
|
extends:
|
2020-05-14 18:08:06 +00:00
|
|
|
- 'plugin:@gitlab/jest'
|
2018-08-29 20:45:53 +00:00
|
|
|
settings:
|
2020-02-18 09:09:24 +00:00
|
|
|
# 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
|
2018-08-29 20:45:53 +00:00
|
|
|
import/resolver:
|
|
|
|
jest:
|
2020-05-20 21:09:09 +00:00
|
|
|
jestConfigFile: 'jest.config.js'
|
2019-03-27 13:55:40 +00:00
|
|
|
globals:
|
|
|
|
getJSONFixture: false
|
|
|
|
loadFixtures: false
|
|
|
|
setFixtures: false
|
2020-05-14 18:08:06 +00:00
|
|
|
rules:
|
|
|
|
jest/expect-expect:
|
|
|
|
- off
|
|
|
|
- assertFunctionNames:
|
|
|
|
- 'expect*'
|
|
|
|
- 'assert*'
|
|
|
|
- 'testAction'
|
|
|
|
jest/no-test-callback:
|
|
|
|
- off
|
2020-12-08 21:10:06 +00:00
|
|
|
"@gitlab/no-global-event-off":
|
|
|
|
- off
|
|
|
|
|