debian-mirror-gitlab/spec/frontend/.eslintrc.yml

31 lines
611 B
YAML
Raw Normal View History

2019-02-15 15:39:39 +05:30
---
2019-07-31 22:56:46 +05:30
extends:
2020-05-24 23:13:21 +05:30
- 'plugin:@gitlab/jest'
2019-02-15 15:39:39 +05:30
settings:
2020-03-13 15:44:24 +05:30
# 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
2019-02-15 15:39:39 +05:30
import/resolver:
jest:
2020-06-23 00:09:42 +05:30
jestConfigFile: 'jest.config.js'
2019-07-07 11:18:12 +05:30
globals:
getJSONFixture: false
loadFixtures: false
preloadFixtures: false
setFixtures: false
2020-05-24 23:13:21 +05:30
rules:
jest/expect-expect:
- off
- assertFunctionNames:
- 'expect*'
- 'assert*'
- 'testAction'
jest/no-test-callback:
- off
2021-02-22 17:27:13 +05:30
"@gitlab/no-global-event-off":
- off