gitlab-org--gitlab-foss/spec/frontend/.eslintrc.yml

30 lines
586 B
YAML
Raw Normal View History

2018-08-29 16:45:53 -04:00
---
extends:
- 'plugin:@gitlab/jest'
2018-08-29 16:45:53 -04:00
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
2018-08-29 16:45:53 -04:00
import/resolver:
jest:
jestConfigFile: 'jest.config.js'
globals:
getJSONFixture: false
loadFixtures: false
setFixtures: false
rules:
jest/expect-expect:
- off
- assertFunctionNames:
- 'expect*'
- 'assert*'
- 'testAction'
jest/no-test-callback:
- off
"@gitlab/no-global-event-off":
- off