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