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

.eslintrc.yml - gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9d12c59e802e80e60f0468234e35190c129a0e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
root: true
extends:
  - 'plugin:@gitlab/default'
env:
  jest: true
parserOptions:
  parser: '@babel/eslint-parser'
  import/no-extraneous-dependencies: false
plugins:
  - 'filenames'
rules:
  filenames/match-regex:
    - error
    - "^[a-z0-9_]+(\\.config|\\.[a-z_]+\\_spec)?$"
  import/no-unresolved:
    - error
    # Ignoring glob for now:
    # https://github.com/import-js/eslint-plugin-import/issues/2703
    # https://github.com/import-js/eslint-plugin-import/issues/2883
    - ignore:
        - 'glob'