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

23 lines
451 B
YAML
Raw Normal View History

2019-02-15 15:39:39 +05:30
---
env:
jest/globals: true
plugins:
2019-07-07 11:18:12 +05:30
- jest
2019-07-31 22:56:46 +05:30
extends:
- 'plugin:jest/recommended'
2019-02-15 15:39:39 +05:30
settings:
2020-03-09 13:42:32 +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:
2019-07-07 11:18:12 +05:30
jestConfigFile: 'jest.config.js'
globals:
getJSONFixture: false
loadFixtures: false
preloadFixtures: false
setFixtures: false