Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.eslintrc.yml « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8e6faa90c58cceae9ae1ad0848bf6ef88d496f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
extends:
  - '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
  import/core-modules:
    - events
    - fs
    - path
  import/resolver:
    jest:
      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